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 full support for RUN --mount=type=cache flags #95

Open
mkesper opened this issue Apr 25, 2024 · 0 comments
Open

Add full support for RUN --mount=type=cache flags #95

mkesper opened this issue Apr 25, 2024 · 0 comments

Comments

@mkesper
Copy link

mkesper commented Apr 25, 2024

RUN --mount=type=cache understands some flags the parser doesn't recognize yet:

ARG debian_version=12
FROM debian:bookworm-slim
RUN --mount=id=debian:${debian_version}-/var/cache/apt,sharing=locked,target=/var/cache/apt,type=cache \

Errors with:
Dockerfile:3:13 unexpected "id=debian:${" expecting "from=", "readonly", "readonly=", "readwrite", "readwrite=", "ro", "ro=", "rw", "rw=", "type=", source=, or target=

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