diff --git a/make/photon/adminserver/Dockerfile b/make/photon/adminserver/Dockerfile index 948fe184c..f6bd90839 100644 --- a/make/photon/adminserver/Dockerfile +++ b/make/photon/adminserver/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN tdnf erase vim -y \ && tdnf distro-sync -y \ diff --git a/make/photon/clair/Dockerfile b/make/photon/clair/Dockerfile index 0c8a485e5..94f33a096 100644 --- a/make/photon/clair/Dockerfile +++ b/make/photon/clair/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN tdnf distro-sync -y \ diff --git a/make/photon/db/Dockerfile b/make/photon/db/Dockerfile index 2f5bafddb..7eef0eb62 100644 --- a/make/photon/db/Dockerfile +++ b/make/photon/db/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 ENV PGDATA /var/lib/postgresql/data diff --git a/make/photon/jobservice/Dockerfile b/make/photon/jobservice/Dockerfile index 178703ebc..77250d9c4 100644 --- a/make/photon/jobservice/Dockerfile +++ b/make/photon/jobservice/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN mkdir /harbor/ \ && tdnf distro-sync -y \ diff --git a/make/photon/log/Dockerfile b/make/photon/log/Dockerfile index 6c34a69a7..a42c0f94f 100644 --- a/make/photon/log/Dockerfile +++ b/make/photon/log/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN tdnf distro-sync -y \ && tdnf install -y cronie rsyslog logrotate shadow tar gzip sudo net-tools >> /dev/null\ diff --git a/make/photon/nginx/Dockerfile b/make/photon/nginx/Dockerfile index 0670deb54..9fc9ea4f4 100644 --- a/make/photon/nginx/Dockerfile +++ b/make/photon/nginx/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN tdnf distro-sync -y \ && tdnf install -y nginx >> /dev/null\ diff --git a/make/photon/notary/server.Dockerfile b/make/photon/notary/server.Dockerfile index bd9ff8db0..320b36d9e 100644 --- a/make/photon/notary/server.Dockerfile +++ b/make/photon/notary/server.Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN tdnf distro-sync -y \ && tdnf erase vim -y \ @@ -13,4 +13,4 @@ COPY ./binary/migrations/ /migrations/ COPY ./server-start.sh /bin/server-start.sh RUN chmod u+x /bin/notary-server /migrations/migrate.sh /bin/migrate /bin/server-start.sh ENV SERVICE_NAME=notary_server -ENTRYPOINT [ "/bin/server-start.sh" ] \ No newline at end of file +ENTRYPOINT [ "/bin/server-start.sh" ] diff --git a/make/photon/notary/signer.Dockerfile b/make/photon/notary/signer.Dockerfile index 4977caf55..09af08bba 100644 --- a/make/photon/notary/signer.Dockerfile +++ b/make/photon/notary/signer.Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN tdnf distro-sync -y \ && tdnf erase vim -y \ @@ -13,4 +13,4 @@ COPY ./signer-start.sh /bin/signer-start.sh RUN chmod u+x /bin/notary-signer /migrations/migrate.sh /bin/migrate /bin/signer-start.sh ENV SERVICE_NAME=notary_signer -ENTRYPOINT [ "/bin/signer-start.sh" ] \ No newline at end of file +ENTRYPOINT [ "/bin/signer-start.sh" ] diff --git a/make/photon/redis/Dockerfile b/make/photon/redis/Dockerfile index 9b75db19b..1276a5c47 100644 --- a/make/photon/redis/Dockerfile +++ b/make/photon/redis/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN tdnf distro-sync -y \ && tdnf install -y redis sudo diff --git a/make/photon/registry/Dockerfile b/make/photon/registry/Dockerfile index 84c284d28..102407b00 100644 --- a/make/photon/registry/Dockerfile +++ b/make/photon/registry/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 MAINTAINER wangyan@vmware.com diff --git a/make/photon/registryctl/Dockerfile b/make/photon/registryctl/Dockerfile index bb1ff01f6..811e24662 100644 --- a/make/photon/registryctl/Dockerfile +++ b/make/photon/registryctl/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 MAINTAINER wangyan@vmware.com diff --git a/make/photon/ui/Dockerfile b/make/photon/ui/Dockerfile index ad32c945e..887d64124 100644 --- a/make/photon/ui/Dockerfile +++ b/make/photon/ui/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 RUN tdnf distro-sync -y \ && tdnf erase vim -y \ diff --git a/tools/migration/Dockerfile b/tools/migration/Dockerfile index 507fe7a53..bdbb95454 100644 --- a/tools/migration/Dockerfile +++ b/tools/migration/Dockerfile @@ -1,4 +1,4 @@ -FROM vmware/photon:1.0 +FROM photon:1.0 ENV PGDATA /var/lib/postgresql/data