Skip to content

snap-contrib/docker-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-snap

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

This is a basic docker image with SNAP and snappy.

You may evolve it to include additional conda packages by editing the environment.yml file and then rebuilding the image.

Pulling this docker image

This docker image is published on Github Packages.

If you don't have a Personal Access Token with read:packages set, create a new one at: https://github.com/settings/tokens/new

Log on the docker repository with:

docker login docker.pkg.github.com --username <your_user_name> --password <generated_token_not_password>

Then pull the image from the command line with:

docker pull docker.pkg.github.com/snap-contrib/docker-snap/snap:latest

And as base image in DockerFile:

FROM docker.pkg.github.com/snap-contrib/docker-snap/snap:latest

Using this image

GPT

docker run --rm -it docker.pkg.github.com/snap-contrib/docker-snap/snap:latest gpt -h

Python and snappy

docker run --rm -it docker.pkg.github.com/snap-contrib/docker-snap/snap:latest python -c 'import snappy'