mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-01 12:23:31 +01:00
18472b53ac
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
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' ]
|