dive/.data/Dockerfile.example

16 lines
568 B
Docker
Raw Permalink Normal View History

2018-12-30 20:07:56 +01:00
FROM busybox:latest
2018-10-21 18:11:13 +02:00
ADD README.md /somefile.txt
2018-12-08 18:09:26 +01:00
RUN mkdir -p /root/example/really/nested
2018-05-20 16:39:59 +02:00
RUN cp /somefile.txt /root/example/somefile1.txt
RUN chmod 444 /root/example/somefile1.txt
2018-05-20 16:39:59 +02:00
RUN cp /somefile.txt /root/example/somefile2.txt
RUN cp /somefile.txt /root/example/somefile3.txt
RUN mv /root/example/somefile3.txt /root/saved.txt
2018-10-27 16:12:19 +02:00
RUN cp /root/saved.txt /root/.saved.txt
2018-10-21 18:11:13 +02:00
RUN rm -rf /root/example/
2018-12-30 20:07:56 +01:00
ADD .scripts/ /root/.data/
RUN cp /root/saved.txt /tmp/saved.again1.txt
RUN cp /root/saved.txt /root/.data/saved.again2.txt
RUN chmod +x /root/saved.txt
RUN chmod 421 /root