Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jan 9, 2023

Changes introduced with this PR

Removing the ENV instruction and replacing it with a Dockerfile-wide ARG to supply the package name. This will result in the package variable only being available at build time instead of runtime.

Please note, this change is untested.


By contributing to this repository, I agree to the contribution guidelines.

@ghost ghost requested a review from mfleader January 9, 2023 19:49
@ghost ghost force-pushed the env-to-arg branch from d2688ff to 81ec39b Compare January 9, 2023 19:51
Copy link
Contributor

@BATMAN-JD BATMAN-JD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Removing the `ENV` instruction and replacing it with a Dockerfile-wide `ARG` to supply the package name. This will result in the `package` variable only being available at build time instead of runtime.

Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
@ghost ghost force-pushed the env-to-arg branch from 81ec39b to 6a165e9 Compare January 9, 2023 20:25
@ghost ghost marked this pull request as ready for review January 9, 2023 20:26
Copy link
Member

@dustinblack dustinblack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@dustinblack dustinblack merged commit d4ff353 into main Jan 10, 2023
@dustinblack dustinblack deleted the env-to-arg branch January 10, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants