add multi-arch support, and decouple vanguards
This commit is contained in:
parent
1dbcebdee3
commit
b0a7d4aea1
6 changed files with 135 additions and 58 deletions
15
docker-build.sh
Executable file
15
docker-build.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/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}" \
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue