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

Build testflinger agent docker image failed #278

Open
hector-cao opened this issue May 22, 2024 · 1 comment
Open

Build testflinger agent docker image failed #278

hector-cao opened this issue May 22, 2024 · 1 comment

Comments

@hector-cao
Copy link

hector-cao commented May 22, 2024

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
Copy link

Thank you for reporting us your feedback!

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

This message was autogenerated

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