Dockerfile:
FROM alpine
ENV loop_command 'while true; do date; ls -l $ACI_MOUNT_PATH; touch $ACI_MOUNT_PATH/testfile1; mkdir $ACI_MOUNT_PATH/testdir1; ls -l $ACI_MOUNT_PATH; df | grep .file. -A 1; sleep 10; done;'
RUN sh -c 'touch entrypoint.sh; chmod +x entrypoint.sh; echo $loop_command > entrypoint.sh'
ENTRYPOINT ["sh", "-c", "./entrypoint.sh"]
Content type
Image
Digest
Size
2 MB
Last updated
almost 8 years ago
docker pull wenwu449/alpine-file