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

ADD --checksum in Dockerfile is not recognized #4051

Closed
datorr2 opened this issue Aug 31, 2023 · 2 comments · Fixed by #4065
Closed

ADD --checksum in Dockerfile is not recognized #4051

datorr2 opened this issue Aug 31, 2023 · 2 comments · Fixed by #4065

Comments

@datorr2
Copy link

datorr2 commented Aug 31, 2023

Issue

When editing a Dockerfile, using the --checksum option with ADD directive results in the following error:

image

The --checksum flag was added in Dockerfile v1.6.0 on 2023-06-13.

https://docs.docker.com/build/dockerfile/release-notes/#160

Applicability

This issue affects ms-azuretools.vscode-docker up to v1.26.0 (2023-08-30)

@bwateratmsft
Copy link
Contributor

@rcjsuen can you look at this? Thanks!

@bwateratmsft bwateratmsft added this to the 1.28.0 milestone Sep 6, 2023
@rcjsuen
Copy link
Contributor

rcjsuen commented Sep 8, 2023

Thank you for reporting this issue, @datorr2. I have verified that this can be enabled with #syntax=docker/dockerfile:1 and have opened rcjsuen/dockerfile-utils#116 to track this.

@bwateratmsft bwateratmsft linked a pull request Sep 11, 2023 that will close this issue
@alexyaang alexyaang modified the milestones: 1.28.0, 1.27.0 Sep 19, 2023
@microsoft microsoft locked and limited conversation to collaborators Nov 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants