FROM alpine:latest ARG VERSION=unknown ARG FOO=unknown RUN mkdir -p /app && echo "$VERSION" > /app/version.txt && echo "$FOO" > /app/foo.txt