Last active
May 16, 2017 20:00
-
-
Save sathed/f4ed336b09f51dfe78d0223efb236b58 to your computer and use it in GitHub Desktop.
Conditional Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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