diff --git a/README.md b/README.md index bff80e5..e85ca79 100644 --- a/README.md +++ b/README.md @@ -54,14 +54,15 @@ Usage of dockerfile-json: ```Dockerfile ARG ALPINE_TAG=3.10 -FROM alpine:$ALPINE_TAG AS build -RUN echo "Hello world" > abc +FROM alpine:${ALPINE_TAG} AS build +RUN --network=host echo "Hello world" > abc FROM build AS test -RUN echo "foo" > bar +RUN --security=insecure echo "foo" > bar FROM scratch COPY --from=build --chown=nobody:nobody abc . +RUN --mount=type=bind,source=./abc,target=/def CMD ["echo"] ```