Skip to content

screwdriver-cd/buildkit-rootless

buildkit-rootless

Build Status Latest Release Open Issues

This container image launches a rootless BuildKit daemon inside Screwdriver.cd build environments. It is based on the rootless variant of moby/buildkit, with the following modifications:

  • Additional TLS-related scripts to enable secure (TLS) communication.
  • A default buildkitd.toml configuration file for convenient, out-of-the-box usage.

By running this image, you can take advantage of Docker builds in a rootless context, helping to maintain a more secure and isolated environment.

Usage

Docker

## run buildkitd container
$ docker run -d -p 1234:1234 --name buildkit-container screwdrivercd/buildkit-rootless --addr tcp://0.0.0.0:1234

## create remote builder in buildkitd container
$ docker buildx create --name remote-buildkit --driver remote tcp://localhost:1234

## build image with remote builder
$ docker buildx use remote-buildkit
$ docker buildx build -t <org>/<name>:<tag> --push .

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •