github.com/swisspost/terratest@v0.0.0-20230214120104-7ec6de2e1ae0/test/fixtures/docker-compose-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  COPY ./bash_script.sh /usr/local/bin/bash_script.sh