Lightweight alpine-based Docker container to securely run copier.
949
Lightweight alpine-based Docker container to securely run copier.
You can read the copier documentation here.
python:3.10-alpine image~/.ssh as read-only inside container so copier can work with your private GitHub repositoriesView on Docker Hub.
Just pull and run the image from Docker Hub.
# Pull the image
docker pull cbp44/copier:latest
# This should print the version of copier installed
docker run --rm copier --version
The example usage below creates a new Snakemake workflow from the snakemake-workflow-template GitHub repository.
# Path where copier output will go
mkdir workflow
docker run --rm -it -v $(pwd)/workflow:/usr/src/dest_path copier \
copy gh:snakemake-workflows/snakemake-workflow-template /usr/src/dest_path
Clone this repository, then build and run the container using docker-compose.
# Clone repository
git clone https://github.com/cbp44/docker-copier
# Build the image
docker-compose build
# Run copier
docker-compose run --rm -it copier \
copy gh:snakemake-workflows/snakemake-workflow-template /usr/src/dest_path
# Output will be in ./dest_path
Content type
Image
Digest
Size
38.9 MB
Last updated
almost 5 years ago
docker pull cbp44/copier