Skip to content

Instantly share code, notes, and snippets.

@sathed
Last active May 16, 2017 20:00
Show Gist options
  • Save sathed/f4ed336b09f51dfe78d0223efb236b58 to your computer and use it in GitHub Desktop.
Save sathed/f4ed336b09f51dfe78d0223efb236b58 to your computer and use it in GitHub Desktop.
Conditional Dockerfile
FROM busybox
VAR USERNAME \
PASSWORD
RUN if [[ -n $username ]]; then echo $password; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment