-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WORKDIR defaults to /volume -- is this desired? #116
Comments
Yep, this is a good catch. Thank you. Long story short; I wasn't actually aware that this could be done in an easier way without some explicit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm new to muslrust, and I'm having to use it to compile a binary for the
x86_64-unknown-linux-musl
target -- one thing I noticed, compared to other containers likerust
, is that WORKDIR defaults to/volume
. Take this Dockerfile for example:This works, however when using
muslrust
instead ofrust
to build, I have to specify/volume
in theCOPY --from=build
command:This confused me for quite a while and I only found this out from looking at Docker command history for the container.
Is it intentional to have the working directory as
/volume
? If so, shouldn't this be documented somewhere like in the README?The text was updated successfully, but these errors were encountered: