Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoyk authored May 4, 2024
1 parent b461f60 commit 6600e1b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ FROM debian:stretch-slim
WORKDIR /cmds

RUN apt-get update -qqy && \
apt-get install -qqy sudo curl gnupg openssh-server apt-transport-https iputils-ping dnsutils rsyslog && \
mkdir -p /var/run/sshd && \
curl -fsSL https://repo.stns.jp/scripts/apt-repo.sh | sh && \
apt-get install -y stns-v2 libnss-stns-v2 && \
sed -i -e 's/^passwd:.*/passwd: files stns/g' /etc/nsswitch.conf && \
apt-get install -qqy sudo curl gnupg openssh-server apt-transport-https iputils-ping dnsutils rsyslog
RUN mkdir -p /var/run/sshd && \
curl -fsSL https://repo.stns.jp/scripts/apt-repo.sh | sh
RUN apt-get install -y stns-v2 libnss-stns-v2
RUN sed -i -e 's/^passwd:.*/passwd: files stns/g' /etc/nsswitch.conf && \
sed -i -e 's/^shadow:.*/shadow: files stns/g' /etc/nsswitch.conf && \
sed -i -e 's/^group:.*/group: files stns/g' /etc/nsswitch.conf && \
ln -s $(which ping) . && \
Expand Down

0 comments on commit 6600e1b

Please sign in to comment.