...
 
Commits (2)
......@@ -13,13 +13,8 @@ imageoptim:
docker run -it --rm -v $$(pwd):/blog -u $$(id -u $$(whoami)):$$(id -g $$(whoami)) $(REGISTRY)/blog-tools/imageoptim:latest jpegoptim --strip-com --strip-exif --strip-iptc --strip-xmp assets/images/*.jpg
docker run -it --rm -v $$(pwd):/blog -u $$(id -u $$(whoami)):$$(id -g $$(whoami)) $(REGISTRY)/blog-tools/imageoptim:latest optipng assets/images/*.png
publish:
clean:
rm -rf output
docker run -it --rm -v $$(pwd):/blog -u $$(id -u $$(whoami)):$$(id -g $$(whoami)) $(REGISTRY)/blog-tools/imageoptim:latest jpegoptim --strip-com --strip-exif --strip-iptc --strip-xmp assets/images/*.jpg
docker run -it --rm -v $$(pwd):/blog -u $$(id -u $$(whoami)):$$(id -g $$(whoami)) $(REGISTRY)/blog-tools/imageoptim:latest optipng assets/images/*.png
docker run -it --rm -v $$(pwd):/blog -u $$(id -u $$(whoami)):$$(id -g $$(whoami)) $(REGISTRY)/blog-tools/acrylamid:latest acrylamid compile
docker run -it --rm -v $$(pwd):/blog -u $$(id -u $$(whoami)):$$(id -g $$(whoami)) $(REGISTRY)/blog-tools/compass:latest compass compile
rsync -rtuvz --delete output/ knuth:/var/www/www.vlent.nl/html
blog:
docker build -f Dockerfile -t $(REGISTRY)/www-vlent-nl/blog:latest .
\ No newline at end of file
This diff is collapsed.