Last active
December 6, 2016 02:55
-
-
Save airtonix/dc03f6b3ba23fae6eb7b7d609d92a9cd to your computer and use it in GitHub Desktop.
Test repo for windows variables in docker-compose
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
version: "2" | |
services: | |
common: | |
image: getourneau/alpine-bash-git | |
command: ["git", "clone", "git@gist.github.com:dc03f6b3ba23fae6eb7b7d609d92a9cd.git"] | |
environment: | |
- "$SSH_AUTH_SOCK=/ssh-auth-sock" | |
with-env: | |
extends: | |
service: common | |
volumes: | |
- '$Env:SSH_AUTH_SOCK:/ssh-auth-sock' | |
without-env: | |
extends: | |
service: common | |
volumes: | |
- '$SSH_AUTH_SOCK:/ssh-auth-sock' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment