Skip to content

Commit a74b7da

Browse files
authored
Merge pull request beevelop#22 from jeremydouglass/jeremydouglass-patch-2
Dockerfile: disable root login
2 parents f072a43 + 97512ba commit a74b7da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ RUN apk add --no-cache gettext
1010

1111
COPY auth.conf auth.htpasswd launch.sh ./
1212

13+
# make sure root login is disabled
14+
RUN sed -i -e 's/^root::/root:!:/' /etc/shadow
15+
1316
CMD ["./launch.sh"]

0 commit comments

Comments
 (0)