-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump up photon version from 4.0 to 5.0
Signed-off-by: Yang Jiao <[email protected]>
- Loading branch information
1 parent
ae33dbd
commit 37ea9c8
Showing
12 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 tzdata shadow >> /dev/null \ | ||
&& tdnf clean all \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 tzdata shadow >> /dev/null \ | ||
&& tdnf clean all \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 tzdata shadow >> /dev/null \ | ||
&& tdnf clean all \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 >> /dev/null \ | ||
&& tdnf clean all \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 rpm shadow >> /dev/null \ | ||
&& tdnf clean all \ | ||
|