22 lines
616 B
Bash
Executable File
22 lines
616 B
Bash
Executable File
# BuildEnigmaBBS
|
|
# Questo script costruisce l'immagine Enigma BBS localmente
|
|
# Requires: Docker
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
echo "Building Enigma BBS Docker image..."
|
|
docker build -t enigmabbs:latest \
|
|
--build-arg TARGETPLATFORM=linux/amd64 \
|
|
--build-arg BUILDPLATFORM=linux/amd64 \
|
|
--build-arg TARGETOS=linux \
|
|
--build-arg BUILD_BRANCH=master \
|
|
https://github.com/NuSkooler/enigma-bbs.git
|
|
|
|
echo "Build complete! Image: enigmabbs:latest"
|
|
echo ""
|
|
echo "To push to your registry:"
|
|
echo " docker tag enigmabbs:latest <your-registry>/enigmabbs:latest"
|
|
echo " docker push <your-registry>/enigmabbs:latest"
|