Dockerfile 313 B

12345678910
  1. FROM alpine:3.9
  2. RUN apk add --no-cache findmnt
  3. CMD set -x \
  4. && findmnt --output TARGET,PROPAGATION --mountpoint /prop-test/vol \
  5. && mkdir -p /prop-test/src /prop-test/vol/mp \
  6. && mount --bind /prop-test/src /prop-test/vol/mp \
  7. && date -Is | tee /prop-test/src/mount-timestamp \
  8. && sleep 21m