Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
C0A21069 authored Apr 26, 2024
1 parent 4a7bf9e commit d302613
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ 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 && \
RUN apt-get update -qqy
RUN apt-get install -qqy sudo curl gnupg openssh-server apt-transport-https iputils-ping dnsutils rsyslog
RUN mkdir -p /var/run/sshd
RUN 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 d302613

Please sign in to comment.