Skip to content

Commit

Permalink
tweaked layers
Browse files Browse the repository at this point in the history
  • Loading branch information
neochrome committed Jun 24, 2017
1 parent d85fa7c commit ed365c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ RUN apk --update add \
&& apk del \
build-base automake autoconf libtool curl tar linux-pam-dev \
&& rm -rf /var/cache/apk/* \
&& rm -rf /etc/ssh/ssh_host_*_key*
&& rm -rf /etc/ssh/ssh_host_*_key* \
&& rm -f /etc/motd

COPY ./sshd_config /etc/ssh/
COPY ./sshd.pam /etc/pam.d/sshd
RUN rm -f /etc/motd

RUN adduser -D -G users -s /bin/sh -h /bastion bastion \
&& passwd -u bastion
Expand Down

0 comments on commit ed365c9

Please sign in to comment.