Skip to content
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

ENV doesn't support setting multiple values #3959

Open
akkuman opened this issue Apr 1, 2024 · 3 comments
Open

ENV doesn't support setting multiple values #3959

akkuman opened this issue Apr 1, 2024 · 3 comments
Labels
type:bug Something isn't working type:dockerfile-parity Disparity from Dockerfile functionality

Comments

@akkuman
Copy link

akkuman commented Apr 1, 2024

What went wrong?

not supported

ENV RUBY_MAJOR=2.4 \
    RUBY_VERSION=2.4.1 \
    RUBY_DOWNLOAD_SHA256=4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654 \
    RUBYGEMS_VERSION=2.6.12 \
    BUNDLER_VERSION=1.15.3

What should have happened?

it should be supported

Other Helpful Information

https://stackoverflow.com/a/45529293/16654916
#1680

@akkuman akkuman added the type:bug Something isn't working label Apr 1, 2024
@alexcb alexcb added the type:dockerfile-parity Disparity from Dockerfile functionality label Apr 1, 2024
@alexcb alexcb changed the title set multi envvar failed ENV doesn't support setting multiple values Apr 3, 2024
@alexcb
Copy link
Collaborator

alexcb commented Apr 3, 2024

https://docs.docker.com/reference/dockerfile/#env

gives this as an example:

ENV MY_NAME="John Doe" MY_DOG=Rex\ The\ Dog \
    MY_CAT=fluffy

we should aim to support this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working type:dockerfile-parity Disparity from Dockerfile functionality
Projects
Status: Todo
Development

No branches or pull requests

3 participants
@alexcb @akkuman and others