diff --git a/make/photon/core/Dockerfile b/make/photon/core/Dockerfile index 39b7cf574b..994348aaa1 100644 --- a/make/photon/core/Dockerfile +++ b/make/photon/core/Dockerfile @@ -12,5 +12,5 @@ COPY ./make/migrations /harbor/migrations RUN chmod u+x /harbor/start.sh /harbor/harbor_core WORKDIR /harbor/ - -ENTRYPOINT ["/harbor/start.sh"] + +ENTRYPOINT ["/harbor/harbor_core"] diff --git a/make/photon/core/harbor_core b/make/photon/core/harbor_core new file mode 100755 index 0000000000..031f62d4f8 Binary files /dev/null and b/make/photon/core/harbor_core differ diff --git a/make/photon/core/start.sh b/make/photon/core/start.sh index 20267e6718..82595202ec 100644 --- a/make/photon/core/start.sh +++ b/make/photon/core/start.sh @@ -1,3 +1,3 @@ -#!/bin/sh -sudo -E -u \#10000 "/harbor/harbor_core" +#! sh +./harbor/harbor_core