git @ Cat's Eye Technologies yastasoti / develop-0.4 build-docker-image.sh
develop-0.4

Tree @develop-0.4 (Download .tar.gz)

build-docker-image.sh @develop-0.4raw · history · blame

#!/bin/sh

# After building the image, you can run yastasoti from within it like:
#
# docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host/" yastasoti \
#        yastasoti links.json --archive-to=out/
#

rm -rf script/*.pyc script/__pycache__
docker container prune
docker rmi catseye/yastasoti:0.4
docker rmi yastasoti
docker build -t yastasoti .
docker tag yastasoti catseye/yastasoti:0.4