Skip to content

Instantly share code, notes, and snippets.

@BigAlRender
Last active September 28, 2022 09:53
Show Gist options
  • Save BigAlRender/4a83df9a9561e5d04a63b689d287a30c to your computer and use it in GitHub Desktop.
Save BigAlRender/4a83df9a9561e5d04a63b689d287a30c to your computer and use it in GitHub Desktop.
Render Environment Variables in Docker Build
# syntax = docker/dockerfile:1.2
FROM ubuntu
ARG DB_URL
RUN echo $DB_URL
RUN printenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment