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

result of dapper cargo test ,unknown instruction: INCLUDE+ #175

Open
leiqi96 opened this issue Feb 13, 2022 · 2 comments
Open

result of dapper cargo test ,unknown instruction: INCLUDE+ #175

leiqi96 opened this issue Feb 13, 2022 · 2 comments

Comments

@leiqi96
Copy link

leiqi96 commented Feb 13, 2022

I have use command DOCKER_BUILDKIT=1 dapper cargo build to build lockc.
then I want to test, but it failed.

# dapper cargo test
Sending build context to Docker daemon 9.758MB
Error response from daemon: dockerfile parse error line 2: unknown instruction: INCLUDE+
FATA[0000] exit status 1

@vadorovsky
Copy link
Member

Hi @leiqi96,

Can you try DOCKER_BUILDKIT=1 dapper cargo test?

The INCLUDE+ instruction comes from Dockerfile+ extension and using such extensions works only with Docker Buildkit enabled.

We probably need to somehow document to always enable DOCKER_BUILDKIT, for people who are not using the newest Docker versions.

@leiqi96
Copy link
Author

leiqi96 commented Feb 14, 2022

thanks, it works

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

2 participants