Skip to content

Commit

Permalink
bump up to photon:5.0 mainly to resolve /lib/libc.so.6: version `GLIB…
Browse files Browse the repository at this point in the history
…C_2.34' not found

use mariadb-18.2.6.tgz as the old one is 404

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
  • Loading branch information
Shengwen Yu committed Jul 8, 2024
1 parent a02a014 commit ac2ca43
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion make/photon/chartserver/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0

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

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

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

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

ENV PGDATA /var/lib/postgresql/data

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

RUN tdnf install sudo tzdata -y >> /dev/null \
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/log/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/nginx/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0

RUN tdnf install -y nginx shadow >> /dev/null \
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/notary-server/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0

RUN tdnf install -y shadow sudo \
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/notary-signer/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0

RUN tdnf install -y shadow sudo \
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/portal/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0

RUN tdnf install -y nginx shadow >> /dev/null \
&& tdnf clean all \
Expand Down
2 changes: 1 addition & 1 deletion make/photon/prepare/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0

RUN tdnf install -y python3 \
&& tdnf install -y python3-pip python3-PyYAML python3-jinja2
Expand Down
2 changes: 1 addition & 1 deletion make/photon/redis/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM photon:4.0
FROM photon:5.0

RUN tdnf install -y redis sudo
2 changes: 1 addition & 1 deletion make/photon/registry/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM photon:4.0
FROM photon:5.0

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

RUN tdnf install sudo -y >> /dev/null \
&& tdnf clean all \
Expand Down
4 changes: 2 additions & 2 deletions tests/apitests/python/test_list_helm_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def testListHelmCharts(self):

user_chart_password = "Aa123456"
TestProjects.CHART_NAME = 'mariadb'
TestProjects.VERSION = '4.3.1'
base.run_command( ["curl", r"-o", "./tests/apitests/python/mariadb-4.3.1.tgz", "https://storage.googleapis.com/harbor-builds/bin/charts/mariadb-4.3.1.tgz"])
TestProjects.VERSION = '18.2.6'
base.run_command( ["curl", r"-o", "./tests/apitests/python/mariadb-18.2.6.tgz", "https://storage.googleapis.com/harbor-builds/bin/mariadb-18.2.6.tgz"])

#1. Create a new user(UA);
TestProjects.user_chart_id, user_chart_name = self.user.create_user(user_password = user_chart_password, **ADMIN_CLIENT)
Expand Down

0 comments on commit ac2ca43

Please sign in to comment.