containerfiles/erpnext/mk-container.sh

15 lines
398 B
Bash
Executable File

#!/bin/bash
#
# Build custom backend container
#
script_dir="$(
cd -- "$(dirname "$0")" >/dev/null 2>&1 || exit 1
pwd -P
)"
cd "$script_dir" || exit 1
. main.env || exit 2
DOCKER_BUILDKIT=1 docker build . -f backend.Containerfile --build-arg ERPNEXT_VERSION="${ERPNEXT_VERSION:?}" -t "jilits/erpnext-worker:${ERPNEXT_VERSION}" -t "git.jilits.se/jilits/erpnext-worker:${ERPNEXT_VERSION}"