github.com/swisspost/terratest@v0.0.0-20230214120104-7ec6de2e1ae0/test/fixtures/docker-with-buildkit/Dockerfile (about)

     1  # A "Hello, World" Docker image used in automated tests for the docker.Build command.
     2  FROM ubuntu:20.04 as with-secrets
     3  
     4  RUN --mount=type=secret,id=github-token echo "$(cat /run/secrets/github-token)" > text.txt
     5  CMD ["cat", "text.txt"]