Remove explicit image name for arm7 base image.

master
Dan Helfman 2 months ago
parent b291c90fac
commit 577a1d6c6d
  1. 3
      Dockerfile
  2. 2
      push.sh

@ -1,5 +1,4 @@
ARG IMAGE_PREFIX
FROM ${IMAGE_PREFIX}alpine:3.16.0
FROM alpine:3.16.0
ENV PORT=18888

@ -6,7 +6,7 @@ IMAGE=witten/wake-on-lan-service
sudo docker buildx build -t $IMAGE:amd64 .
sudo docker push $IMAGE:amd64
sudo docker buildx build --platform linux/arm/v7 --build-arg IMAGE_PREFIX="arm32v7/" -t $IMAGE:armv7 .
sudo docker buildx build --platform linux/arm/v7 -t $IMAGE:armv7 .
sudo docker push $IMAGE:armv7
sudo docker manifest create --amend $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7
sudo docker manifest push $IMAGE:latest

Loading…
Cancel
Save