sandbox/Dockerfile

11 lines
265 B
Docker
Raw Normal View History

2019-08-03 21:10:05 +00:00
FROM ubuntu:18.04
2016-04-08 11:43:57 +00:00
2016-04-17 23:18:32 +00:00
ADD ./sources.list /etc/apt/sources.list
2016-04-08 11:43:57 +00:00
RUN echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d
ADD ./run.sh /tmp/run.sh
RUN bash /tmp/run.sh && rm /tmp/run.sh
ADD ./my_init /usr/sbin/my_init
RUN chmod +x /usr/sbin/my_init
CMD /usr/sbin/my_init