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
|
2018-12-02 01:01:59 +01:00
|
|
|
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/
|
2018-10-31 05:11:35 +01:00
|
|
|
RUN cp /root/saved.txt /tmp/saved.again1.txt
|
|
|
|
RUN cp /root/saved.txt /root/.data/saved.again2.txt
|
2018-12-28 15:38:15 +01:00
|
|
|
RUN chmod +x /root/saved.txt
|
2019-02-18 22:21:43 +01:00
|
|
|
RUN chmod 421 /root
|