docspell/docker/build-images.sh
2020-06-17 22:28:04 +02:00

19 lines
638 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# Update the versions in joex.dockerfile and restserver.dockerfile,
# docker-compose.yml and joex/entrypoint.sh; update versions here
docker build -t eikek0/docspell:joex-0.7.0 -f joex.dockerfile .
docker build -t eikek0/docspell:restserver-0.7.0 -f restserver.dockerfile .
docker build -t eikek0/docspell:consumedir-0.7.0 -f consumedir.dockerfile .
docker tag eikek0/docspell:restserver-0.7.0 eikek0/docspell:restserver-latest
docker tag eikek0/docspell:joex-0.7.0 eikek0/docspell:joex-latest
docker tag eikek0/docspell:consumedir-0.7.0 eikek0/docspell:consumedir-latest
# test with docker-compose up