-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add shaddow for chsh * add missing commands. make testing easier * touch lastlog * delete hostkey for testing * add required deps to final stage
- Loading branch information
Showing
3 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,15 @@ LABEL maintainer="[email protected]" | |
|
||
USER root | ||
|
||
## Install dependencies | ||
RUN apk --update add curl drill groff util-linux bash xauth gettext shadow sudo && \ | ||
rm -rf /etc/ssh/ssh_host_*_key* && \ | ||
rm -f /usr/bin/ssh-agent && \ | ||
rm -f /usr/bin/ssh-keyscan && \ | ||
touch /var/log/lastlog && \ | ||
mkdir -p /var/run/sshd && \ | ||
mv /etc/profile.d/color_prompt /etc/profile.d/color_prompt.sh | ||
|
||
## Install sudosh | ||
ENV SUDOSH_VERSION=0.1.3 | ||
RUN wget https://github.com/cloudposse/sudosh/releases/download/${SUDOSH_VERSION}/sudosh_linux_386 -O /usr/bin/sudosh && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters