Last active
April 14, 2019 21:58
-
-
Save Deviad/9e2864b6aaf10d31e820cf301a310c91 to your computer and use it in GitHub Desktop.
Send multiple comands to docker
This file contains 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
TEMP_VAR=$(cat <<'END_HEREDOC' | |
export VAR1="something" | |
export VAR2="something" | |
END_HEREDOC | |
) | |
bash -c "${TEMP_VAR}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment