mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 09:08:26 +01:00
Bump up photon version from 4.0 to 5.0 (#19006)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
854e0295d1
commit
5e130bd06c
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y tzdata shadow >> /dev/null \
|
||||
&& tdnf clean all \
|
||||
|
@ -1,11 +1,13 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
ENV PGDATA /var/lib/postgresql/data
|
||||
|
||||
RUN tdnf install -y postgresql13 >> /dev/null
|
||||
RUN tdnf install -y shadow gzip postgresql findutils bc >> /dev/null \
|
||||
RUN tdnf install -y shadow >> /dev/null \
|
||||
&& groupadd -r postgres --gid=999 \
|
||||
&& useradd -m -r -g postgres --uid=999 postgres \
|
||||
&& useradd -m -r -g postgres --uid=999 postgres
|
||||
|
||||
RUN tdnf install -y postgresql13-server >> /dev/null
|
||||
RUN tdnf install -y gzip postgresql14-server findutils bc >> /dev/null \
|
||||
&& mkdir -p /docker-entrypoint-initdb.d \
|
||||
&& mkdir -p /run/postgresql \
|
||||
&& chown -R postgres:postgres /run/postgresql \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y tzdata shadow >> /dev/null \
|
||||
&& tdnf clean all \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y tzdata shadow >> /dev/null \
|
||||
&& tdnf clean all \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y cronie rsyslog logrotate shadow tar gzip sudo >> /dev/null\
|
||||
&& mkdir /var/spool/rsyslog \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y nginx shadow >> /dev/null \
|
||||
&& tdnf clean all \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y nginx shadow >> /dev/null \
|
||||
&& tdnf clean all \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y python3 python3-pip python3-PyYAML python3-jinja2 && tdnf clean all
|
||||
RUN pip3 install pipenv==2022.1.8
|
||||
|
@ -1,3 +1,6 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y shadow >> /dev/null \
|
||||
&& groupadd -g 999 redis \
|
||||
&& useradd -u 999 -g 999 -c "Redis Database Server" -d /var/lib/redis -s /sbin/nologin -m redis
|
||||
RUN tdnf install -y redis && tdnf clean all
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y shadow >> /dev/null \
|
||||
&& tdnf clean all \
|
||||
&& mkdir -p /etc/registry \
|
||||
&& groupadd -r -g 10000 harbor && useradd --no-log-init -m -g 10000 -u 10000 harbor
|
||||
&& groupadd -r -g 10000 harbor && useradd --no-log-init -m -g 10000 -u 10000 harbor
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y shadow >> /dev/null \
|
||||
&& tdnf clean all \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM photon:4.0
|
||||
FROM photon:5.0
|
||||
|
||||
RUN tdnf install -y rpm shadow >> /dev/null \
|
||||
&& tdnf clean all \
|
||||
|
Loading…
Reference in New Issue
Block a user