Skip to content

Commit

Permalink
update challenge-graphics image, use challenge-base
Browse files Browse the repository at this point in the history
  • Loading branch information
psviderski committed Nov 27, 2015
1 parent 51f902c commit ee04fac
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions challenge-graphics/Dockerfile
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

0 comments on commit ee04fac

Please sign in to comment.