now uses a more recent FROM image, now using python 3.10.6 and alpine 3.16
updates pip before installing the package
smaller Docker context using .dockerignore (< 0.5MB, was >120MB)
some minor doc changes
Instructions to review the pull request
(have a working docker installation)
# make a temp directory, cd into it
cd $(mktemp -d --tmpdir howfairis.XXXXXX)
# get a copy of the repo
git clone https://github.com/fair-software/howfairis .
# checkout the branch
git checkout bump-dockerfile
# build howfairis docker image
docker build -t fairsoftware/howfairis:latest .
# run an example on github and on gitlab
docker run -ti --rm fairsoftware/howfairis:latest https://github.com/fair-software/howfairis-livetest
docker run -ti --rm fairsoftware/howfairis:latest https://gitlab.com/jspaaks/howfairis-livetest
# look inside the docker container if everything looks OK
docker run -ti --rm --entrypoint /bin/sh fairsoftware/howfairis:latest
apk add tree
tree -a
List of related issues or pull requests
Refs: N/A
Describe the changes made in this pull request
Updated
Dockerfile
:FROM
image, now using python 3.10.6 and alpine 3.16pip
before installing the package.dockerignore
(< 0.5MB, was >120MB)Instructions to review the pull request
(have a working docker installation)