mirror of
https://github.com/goharbor/harbor.git
synced 2024-06-29 00:05:09 +02:00
Update photon base images (#5346)
This commit update the base photon image from vmware/photon:1.0 to photon:1.0, per suggestion by photon team.
This commit is contained in:
parent
b764eed123
commit
6c664ee993
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
RUN tdnf erase vim -y \
|
RUN tdnf erase vim -y \
|
||||||
&& tdnf distro-sync -y \
|
&& tdnf distro-sync -y \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
|
|
||||||
RUN tdnf distro-sync -y \
|
RUN tdnf distro-sync -y \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
RUN mkdir /harbor/ \
|
RUN mkdir /harbor/ \
|
||||||
&& tdnf distro-sync -y \
|
&& tdnf distro-sync -y \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
RUN tdnf distro-sync -y \
|
RUN tdnf distro-sync -y \
|
||||||
&& tdnf install -y cronie rsyslog logrotate shadow tar gzip sudo net-tools >> /dev/null\
|
&& tdnf install -y cronie rsyslog logrotate shadow tar gzip sudo net-tools >> /dev/null\
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
RUN tdnf distro-sync -y \
|
RUN tdnf distro-sync -y \
|
||||||
&& tdnf install -y nginx >> /dev/null\
|
&& tdnf install -y nginx >> /dev/null\
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
RUN tdnf distro-sync -y \
|
RUN tdnf distro-sync -y \
|
||||||
&& tdnf erase vim -y \
|
&& tdnf erase vim -y \
|
||||||
|
@ -13,4 +13,4 @@ COPY ./binary/migrations/ /migrations/
|
||||||
COPY ./server-start.sh /bin/server-start.sh
|
COPY ./server-start.sh /bin/server-start.sh
|
||||||
RUN chmod u+x /bin/notary-server /migrations/migrate.sh /bin/migrate /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
|
ENV SERVICE_NAME=notary_server
|
||||||
ENTRYPOINT [ "/bin/server-start.sh" ]
|
ENTRYPOINT [ "/bin/server-start.sh" ]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
RUN tdnf distro-sync -y \
|
RUN tdnf distro-sync -y \
|
||||||
&& tdnf erase vim -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
|
RUN chmod u+x /bin/notary-signer /migrations/migrate.sh /bin/migrate /bin/signer-start.sh
|
||||||
ENV SERVICE_NAME=notary_signer
|
ENV SERVICE_NAME=notary_signer
|
||||||
ENTRYPOINT [ "/bin/signer-start.sh" ]
|
ENTRYPOINT [ "/bin/signer-start.sh" ]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
RUN tdnf distro-sync -y \
|
RUN tdnf distro-sync -y \
|
||||||
&& tdnf install -y redis sudo
|
&& tdnf install -y redis sudo
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
MAINTAINER wangyan@vmware.com
|
MAINTAINER wangyan@vmware.com
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
MAINTAINER wangyan@vmware.com
|
MAINTAINER wangyan@vmware.com
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
RUN tdnf distro-sync -y \
|
RUN tdnf distro-sync -y \
|
||||||
&& tdnf erase vim -y \
|
&& tdnf erase vim -y \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM vmware/photon:1.0
|
FROM photon:1.0
|
||||||
|
|
||||||
ENV PGDATA /var/lib/postgresql/data
|
ENV PGDATA /var/lib/postgresql/data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user