-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update challenge-graphics image, use challenge-base
- Loading branch information
1 parent
51f902c
commit ee04fac
Showing
1 changed file
with
4 additions
and
18 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 |
---|---|---|
@@ -1,22 +1,8 @@ | ||
FROM phusion/baseimage | ||
FROM stepic/challenge-base | ||
MAINTAINER Pavel Sviderski <[email protected]> | ||
|
||
RUN add-apt-repository -y ppa:mc3man/trusty-media && apt-get update \ | ||
&& apt-get --no-install-recommends -y install man wget nano screen tmux \ | ||
imagemagick ffmpeg \ | ||
&& apt-get --no-install-recommends -y install \ | ||
imagemagick libmagickcore5-extra ffmpeg \ | ||
&& apt-get clean \ | ||
&& useradd -m box | ||
|
||
RUN rm -f /etc/service/sshd/down && /etc/my_init.d/00_regen_ssh_host_keys.sh \ | ||
&& rm -rf /etc/service/cron /etc/service/syslog-forwarder /etc/service/syslog-ng | ||
|
||
COPY common/ssh /root/.ssh | ||
COPY common/bashrc /root/.bashrc | ||
COPY common/bashrc /home/box/.bashrc | ||
|
||
COPY common/start.sh /.box/start.sh | ||
COPY common/greeting /.box/greeting | ||
|
||
EXPOSE 22 | ||
|
||
CMD /.box/start.sh | ||
&& rm -f /etc/sudoers.d/box |