15 lines
477 B
Bash
Executable file
15 lines
477 B
Bash
Executable file
#!/bin/sh
|
|
# Build script for multi-architecture support
|
|
# Requires docker buildx enabled
|
|
|
|
IMAGE_NAME="cmehay/docker-tor-hidden-service"
|
|
TAG="latest"
|
|
|
|
echo "Building multi-arch image (linux/amd64, linux/arm64)..."
|
|
|
|
# Note: To push to a registry, add '--push' and ensure you are logged in.
|
|
# For local testing, you might need to build for a single arch or use '--load' (single arch).
|
|
docker buildx build \
|
|
--platform linux/amd64,linux/arm64 \
|
|
-t "${IMAGE_NAME}:${TAG}" \
|
|
.
|