This commit is contained in:
Jeffrey Paul 2016-08-27 01:50:14 +02:00 committed by GitHub
parent 83997b6ffa
commit d1a041c0dd

View File

@ -2,9 +2,6 @@ FROM ubuntu:16.04
ADD ./sources.list /etc/apt/sources.list ADD ./sources.list /etc/apt/sources.list
# normally bad form for dockerfiles, but is sandbox
RUN DEBIAN_FRONTEND=noninteractive apt update && apt -y upgrade
RUN echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d RUN echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d
ADD ./run.sh /tmp/run.sh ADD ./run.sh /tmp/run.sh
RUN bash /tmp/run.sh && rm /tmp/run.sh RUN bash /tmp/run.sh && rm /tmp/run.sh