mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-02 21:04:02 +01:00
10 lines
284 B
Docker
10 lines
284 B
Docker
|
FROM busybox
|
||
|
|
||
|
RUN --mount=type=secret,required=true,id=build_secret \
|
||
|
ls -l /run/secrets/ && cat /run/secrets/build_secret
|
||
|
|
||
|
RUN --mount=type=secret,required=true,id=build_secret,target=/tmp/secret \
|
||
|
ls -l /run/secrets/ /tmp/ && cat /tmp/secret
|
||
|
|
||
|
CMD [ 'echo', 'nothing here' ]
|