Bump up photon version from 4.0 to 5.0 (#19006)

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
Yang Jiao 2023-08-01 11:52:33 +08:00 committed by GitHub
parent 854e0295d1
commit 5e130bd06c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 21 additions and 16 deletions

View File

@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0
RUN tdnf install -y tzdata shadow >> /dev/null \
&& tdnf clean all \

View File

@ -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 \

View File

@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0
RUN tdnf install -y tzdata shadow >> /dev/null \
&& tdnf clean all \

View File

@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0
RUN tdnf install -y tzdata shadow >> /dev/null \
&& tdnf clean all \

View File

@ -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 \

View File

@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0
RUN tdnf install -y nginx shadow >> /dev/null \
&& tdnf clean all \

View File

@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0
RUN tdnf install -y nginx shadow >> /dev/null \
&& tdnf clean all \

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0
RUN tdnf install -y shadow >> /dev/null \
&& tdnf clean all \

View File

@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0
RUN tdnf install -y rpm shadow >> /dev/null \
&& tdnf clean all \