Create Dockerfile2

This commit is contained in:
Mauricio Siu
2025-10-24 23:51:54 -06:00
committed by GitHub
parent 7d5b39a856
commit 77e5b93a48

9
deno/Dockerfile2 Normal file
View File

@@ -0,0 +1,9 @@
FROM alpine:latest
ARG CACHE_BUST
RUN --mount=type=secret,id=MESSAGE \
echo "Secret contents (mounted): $(cat /run/secrets/MESSAGE)" \
&& sleep 10
RUN echo -n "Secret file "; if [ -e /run/secrets/MESSAGE ]; then echo "mounted ❌"; else echo "unmounted ✅"; fi; sleep 10