You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the volumes configuration I want to use shell environment variables within the config string when specifying the directory paths to mount.
I want to be able to do this:
volumes:
"$GOPATH/bin": "/gobin"
This should pick up the environment variable $GOPATH and use that for bind-mounting the directory to the container. That's how it works in a Docker Compose file.
Instead, in blockade, not only does it not recognize and expand the environment variable, it also creates a directory called $GOPATH and a subdirectory $GOPATH/bin in the current working directory.
The text was updated successfully, but these errors were encountered:
Yeah that is a good point, the env variable parsing is quite basic. I think it was a quick hack thrown in, but that'd be a good thing to improve. I'll keep this open as a reminder.
For the
volumes
configuration I want to use shell environment variables within the config string when specifying the directory paths to mount.I want to be able to do this:
This should pick up the environment variable
$GOPATH
and use that for bind-mounting the directory to the container. That's how it works in a Docker Compose file.Instead, in blockade, not only does it not recognize and expand the environment variable, it also creates a directory called
$GOPATH
and a subdirectory$GOPATH/bin
in the current working directory.The text was updated successfully, but these errors were encountered: