Skip to content

Commit

Permalink
Remove: Unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann committed Jan 20, 2025
1 parent 9830e2f commit 3d40a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operating_systems/openeuler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ ARG UPDATED=false
ARG TAG

RUN if [ "$UPDATED" = true ]; then dnf upgrade -y; fi \
&& if [ "$TAG" != "20.03-lts" ]; dnf install -y openssh-server passwd shadow-utils; fi \
&& if [ "$TAG" != "20.03-lts" ]; then dnf install -y openssh-server; fi \
&& dnf clean all \
&& useradd demo \
&& echo "demo" | passwd --stdin demo \
&& echo "demo:demo" | chpasswd \
&& ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N "" \
&& ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N "" \
&& ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ""
Expand Down

0 comments on commit 3d40a24

Please sign in to comment.