Skip to content

Commit

Permalink
Add: openEuler-20.03-LTS/-SP versions (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasHargarter authored Nov 18, 2024
1 parent c4f780f commit 517d930
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ jobs:
TAG: "8"
- CONTEXT: operating_systems/mageia
TAG: "9"
- CONTEXT: operating_systems/openeuler
TAG: "20.03-lts"
- CONTEXT: operating_systems/openeuler
TAG: "20.03-lts-sp1"
- CONTEXT: operating_systems/openeuler
TAG: "20.03-lts-sp2"
- CONTEXT: operating_systems/openeuler
TAG: "20.03-lts-sp3"
- CONTEXT: operating_systems/openeuler
TAG: "20.03-lts-sp4"
- CONTEXT: operating_systems/openeuler
TAG: "22.03-lts"
- CONTEXT: operating_systems/openeuler
Expand Down
6 changes: 5 additions & 1 deletion operating_systems/openeuler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ ARG TAG

FROM ${BASEIMAGE}:${TAG}
ARG UPDATED=false
ARG TAG

RUN if [ "$TAG" = "20.03-lts" ]; then dnf install -y \
https://repo.openeuler.org/openEuler-20.03-LTS/update/x86_64/Packages/openEuler-gpg-keys-1.0-2.9.oe1.x86_64.rpm \
https://repo.openeuler.org/openEuler-20.03-LTS/update/x86_64/Packages/openEuler-repos-1.0-2.9.oe1.x86_64.rpm; fi
RUN if [ "$UPDATED" = true ]; then dnf upgrade -y; fi \
&& dnf install -y openssh-server passwd \
&& dnf install -y openssh-server passwd shadow-utils\
&& dnf clean all \
&& useradd demo \
&& echo "demo" | passwd --stdin demo \
Expand Down

0 comments on commit 517d930

Please sign in to comment.