Just use the following aliases to modify your .bashrc (or .bash_profile if OSX):
DOCKER_RUN='docker run --rm -v `pwd`:/workdir -w /workdir'
alias gp="$DOCKER_RUN -it semenovp/tiny-parigp:latest gp"
alias gp2c="$DOCKER_RUN semenovp/tiny-parigp:gp2c-latest gp2c"
alias gp2c_run="$DOCKER_RUN --entrypoint '' -it semenovp/tiny-parigp:gp2c-latest gp2c-run"
Review the sizes of competitor images retrieved from DockerHub against current one built on PARI/GP v2.13.0.
REPOSITORY | YYYY-MM-DD | COMPRESSED / UNCOMPRESSED SIZE |
---|---|---|
semenovp/tiny-parigp:latest | 2020-12-16 | 7.82MB / 19.3MB |
pascalmolin/parigp-small:latest | 2020-07-08 | 78.11MB / 231MB |
semenovp/tiny-parigp:latest-alldata | 2020-12-16 | 96.13MB / 288MB |
pascalmolin/parigp-full:latest | 2020-07-08 | 158.53MB / 464MB |
semenovp/tiny-parigp:gp2c-latest | 2020-12-16 | 28.13MB / 79.9MB |