canonical / testflinger

https://testflinger.readthedocs.io/en/latest/
GNU General Public License v3.0
9 stars 13 forks source link

Build testflinger agent docker image failed #278

Open hector-cao opened 1 month ago

hector-cao commented 1 month ago

When i try to build the docker image for the TF agent:

$ cd agent/extra/docker
$  docker build -t local/testflinger-agent:latest .

I had the error

the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled

I have to use BuildKit to build the image successfully:

DOCKER_BUILDKIT=1 docker build -t local/testflinger-agent:latest .

My docker version:

Docker version 20.10.25, build 20.10.25-0ubuntu1~23.04.1
syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CERTTF-328.

This message was autogenerated