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

ARG VARIANT #122

Open
loynoir opened this issue Jul 6, 2022 · 0 comments
Open

ARG VARIANT #122

loynoir opened this issue Jul 6, 2022 · 0 comments

Comments

@loynoir
Copy link

loynoir commented Jul 6, 2022

ARG VARIANT

Given

ARG VARIANT
FROM python:${VARIANT}

After lock generate + rewerite, wrong

ARG VARIANT
FROM python

After lock generate + rewerite, correct. But compared to origin, wrong.

ARG VARIANT
FROM python:latest@sha256:hash

ARG VARIANT=FOOBAR

Given

ARG VARIANT="alpine"
FROM python:${VARIANT}

After lock generate + rewerite, debatable.

ARG VARIANT="alpine"
FROM python:alpine@sha256:hash
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

No branches or pull requests

1 participant