update everything to latest on build

This commit is contained in:
Jeffrey Paul 2016-08-27 01:49:49 +02:00 committed by GitHub
parent 2a1b6bfc36
commit 83997b6ffa

View File

@ -2,6 +2,9 @@ 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