Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Mar 24, 2024
1 parent cb0afac commit 8404521
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ RUN wget https://apk.corretto.aws/amazoncorretto.rsa.pub -O /etc/apk/keys/amazon
mv /usr/local/bin/apache-maven-"$MAVEN4_VERSION" /usr/local/bin/mvn4 && \
useradd -d /tmp -Ms /bin/ash -u 1000 jenkins && \
echo "jenkins:$(openssl rand -base64 12)" | chpasswd && \
apk del --no-cache shadow openssl
apk del --no-cache shadow openssl && \
chown -R 1000:1000 /tmp

COPY start.sh /usr/local/bin/start.sh
COPY sshd_config /etc/ssh/sshd_config
Expand Down

0 comments on commit 8404521

Please sign in to comment.