Skip to content

Commit

Permalink
change to Photon 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hzliangbin committed Jun 18, 2020
1 parent 17f772a commit e64c80b
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion make/photon/chartserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install -y shadow sudo >>/dev/null\
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/clair/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install -y git shadow sudo rpm xz python-xml >>/dev/null\
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/core/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install sudo tzdata -y >> /dev/null \
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/db/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

ENV PGDATA /var/lib/postgresql/data

Expand Down
2 changes: 1 addition & 1 deletion make/photon/jobservice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install sudo tzdata -y >> /dev/null \
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/log/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install -y cronie rsyslog logrotate shadow tar gzip sudo >> /dev/null\
&& mkdir /var/spool/rsyslog \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install sudo nginx -y >> /dev/null\
&& tdnf clean all \
Expand Down
4 changes: 2 additions & 2 deletions make/photon/notary/server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install -y shadow sudo \
&& tdnf clean all \
Expand All @@ -12,4 +12,4 @@ COPY ./make/photon/notary/binary/migrations/ /migrations/
RUN chmod +x /bin/notary-server /migrations/migrate.sh /bin/migrate /bin/migrate-patch
ENV SERVICE_NAME=notary_server
USER notary
CMD migrate-patch -database=${DB_URL} && /migrations/migrate.sh && /bin/notary-server -config=/etc/notary/server-config.postgres.json -logf=logfmt
CMD migrate-patch -database=${DB_URL} && /migrations/migrate.sh && /bin/notary-server -config=/etc/notary/server-config.postgres.json -logf=logfmt
4 changes: 2 additions & 2 deletions make/photon/notary/signer.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install -y shadow sudo \
&& tdnf clean all \
Expand All @@ -12,4 +12,4 @@ COPY ./make/photon/notary/binary/migrations/ /migrations/
RUN chmod +x /bin/notary-signer /migrations/migrate.sh /bin/migrate /bin/migrate-patch
ENV SERVICE_NAME=notary_signer
USER notary
CMD migrate-patch -database=${DB_URL} && /migrations/migrate.sh && /bin/notary-signer -config=/etc/notary/signer-config.postgres.json -logf=logfmt
CMD migrate-patch -database=${DB_URL} && /migrations/migrate.sh && /bin/notary-signer -config=/etc/notary/signer-config.postgres.json -logf=logfmt
2 changes: 1 addition & 1 deletion make/photon/portal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN ls -la \
&& npm run release


FROM photon:2.0
FROM photon:3.0

COPY --from=nodeportal /build_dir/dist /usr/share/nginx/html
COPY --from=nodeportal /build_dir/swagger.yaml /usr/share/nginx/html
Expand Down
2 changes: 1 addition & 1 deletion make/photon/prepare/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

ENV LANG en_US.UTF-8

Expand Down
2 changes: 1 addition & 1 deletion make/photon/redis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

RUN tdnf install -y redis sudo

Expand Down
2 changes: 1 addition & 1 deletion make/photon/registry/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

MAINTAINER [email protected]

Expand Down
2 changes: 1 addition & 1 deletion make/photon/registryctl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

MAINTAINER [email protected]

Expand Down
2 changes: 1 addition & 1 deletion tools/migration/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:2.0
FROM photon:3.0

ENV PGDATA /var/lib/postgresql/data

Expand Down

0 comments on commit e64c80b

Please sign in to comment.