Docker image for Google Copybara. Uses upstream weekly snapshot releases and keeps the default Docker workflow simple.
docker run --rm -it \
-v "$(pwd)":/usr/src/app \
dockette/copybara:latest
This runs the default command:
copybara migrate copy.bara.sky
Java 25, Copybara, git, Mercurial, Quilt, OpenSSH client, buildifier, buildozer.
Run Copybara directly with your own arguments:
docker run --rm -it \
-v "$(pwd)":/usr/src/app \
dockette/copybara:latest validate copy.bara.sky
The image supports the same COPYBARA_* environment variables as the upstream Docker wrapper.
docker run --rm -it \
-e COPYBARA_SUBCOMMAND=validate \
-e COPYBARA_CONFIG=copy.bara.sky \
-e COPYBARA_WORKFLOW=default \
-v "$(pwd)":/usr/src/app \
dockette/copybara:latest
Supported variables:
COPYBARA_SUBCOMMANDCOPYBARA_CONFIGCOPYBARA_WORKFLOWCOPYBARA_SOURCEREFCOPYBARA_OPTIONSIf your origin or destination uses SSH, mount your git config, SSH directory, and SSH agent socket:
docker run --rm -it \
-v ~/.gitconfig:/root/.gitconfig:ro \
-v ~/.ssh:/root/.ssh \
-v ${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK} \
-e SSH_AUTH_SOCK=${SSH_AUTH_SOCK} \
-v "$(pwd)":/usr/src/app \
dockette/copybara:latest
copy.bara.sky, to be available inside /usr/src/app.COPYBARA_VERSION and COPYBARA_SHA256 in latest/Dockerfile.See how to contribute to this package. Consider to support f3l1x. Thank you for using this package.
Content type
Image
Digest
sha256:3aa837053…
Size
184.1 MB
Last updated
3 days ago
docker pull dockette/copybaraPulls:
1,777
Last week