Add Enigma BBS deployment files
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
This commit is contained in:
21
build-image.sh
Executable file
21
build-image.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user