lockc icon indicating copy to clipboard operation
lockc copied to clipboard

result of dapper cargo test ,unknown instruction: INCLUDE+

Open leiqi96 opened this issue 3 years ago • 2 comments

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

leiqi96 avatar Feb 13 '22 14:02 leiqi96

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.

vadorovsky avatar Feb 13 '22 14:02 vadorovsky

thanks, it works

leiqi96 avatar Feb 14 '22 01:02 leiqi96