Skip to content

Commit 64ec2e8

Browse files
fix
1 parent 520f3e2 commit 64ec2e8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Janus/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ for PLATFORM in "${PLATFORMS[@]}"; do
2929
# For Linux builds
3030
docker buildx build --platform "$PLATFORM" \
3131
--push \
32+
--build-arg architecture=darwin-arm64 \
3233
--build-arg PLATFORM="$PLATFORM" \
3334
--build-arg UBUNTU_VERSION=24.04 \
3435
-t "$IMAGE_NAME:$TAG" .

JanusCoreDeps/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
# Create and set up the buildx builder
44
docker buildx create --name multi-arch \
5-
--platform "linux/arm64,linux/amd64,linux/arm/v7,windows/amd64" \
5+
--platform "linux/arm64,linux/arm64/v8,linux/amd64,linux/arm/v7,windows/amd64" \
66
--driver "docker-container" --use
77

88
# Define image name
99
IMAGE_NAME="shivanshtalwar0/januscoredeps"
1010

1111
# Define platforms
12-
PLATFORMS=("linux/amd64" "linux/arm/v7")
12+
PLATFORMS=("linux/arm64/v8" "linux/arm64" "linux/arm/v7" "linux/amd64" "windows/amd64")
1313

1414
# Loop through each platform and build the image
1515
for PLATFORM in "${PLATFORMS[@]}"; do

0 commit comments

Comments
 (0)