|
@@ -75,7 +75,7 @@ fi |
|
|
# Modify original build-options to allow config file to be mounted in the docker container |
|
|
# Modify original build-options to allow config file to be mounted in the docker container |
|
|
BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')" |
|
|
BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')" |
|
|
|
|
|
|
|
|
BASE_IMAGE=debian:bullseye |
|
|
|
|
|
|
|
|
BASE_IMAGE=debian:buster |
|
|
${DOCKER} build --build-arg BASE_IMAGE=${BASE_IMAGE} -t pi-gen "${DIR}" |
|
|
${DOCKER} build --build-arg BASE_IMAGE=${BASE_IMAGE} -t pi-gen "${DIR}" |
|
|
|
|
|
|
|
|
if [ "${CONTAINER_EXISTS}" != "" ]; then |
|
|
if [ "${CONTAINER_EXISTS}" != "" ]; then |
|
|