Add build script, fix awk -> gawk

This commit is contained in:
Benjamin Arntzen
2024-08-24 13:00:23 +09:00
parent 83f6a05147
commit 5aceb124f3
2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
FROM wakuorg/nwaku:v0.31.1
RUN apk add curl awk
RUN apk add curl gawk

10
docker/nwaku/v0.31.1/build.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Create a new builder instance if it doesn't exist
docker buildx create --name multiarch --node multiarch0 --use
# Build and push the multi-architecture image
docker buildx build --platform linux/amd64,linux/arm64 \
-t zorlin/nwaku:v0.31.1 \
-f Dockerfile \
--push .