git @ Cat's Eye Technologies SixtyPical / docker-experiment build-docker-image.sh
docker-experiment

Tree @docker-experiment (Download .tar.gz)

build-docker-image.sh @docker-experimentraw · history · blame

#!/bin/sh

# After building the image, you can run sixtypical from within it like:
#
# docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" sixtypical \
#        sixtypical eg/funrun.60p
#

PROJECT=sixtypical
VERSION=0.19

rm -rf src/sixtypical/*.pyc src/sixtypical/__pycache__
docker container prune
docker rmi catseye/${PROJECT}:${VERSION}
docker rmi ${PROJECT}
docker build -t ${PROJECT} .
docker tag sixtypical catseye/${PROJECT}:${VERSION}