mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +03:00
7 lines
397 B
Bash
Executable file
7 lines
397 B
Bash
Executable file
#!/bin/sh
|
|
# This script uses docker buildx to build a docker image, and loads it into the docker daemon. Then it executes ./test.sh to test the docker image
|
|
# It is useful for testing release builds in development
|
|
set -eu
|
|
IMAGE=snappymail/snappymail:test
|
|
DOCKER_BUILDX=1 docker buildx build --progress plain --load -t "$IMAGE" -f .docker/release/Dockerfile .
|
|
.docker/release/test/test.sh "$IMAGE"
|