lockc
lockc copied to clipboard
result of dapper cargo test ,unknown instruction: INCLUDE+
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
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.
thanks, it works