From ed9ef588d970f604a2722fa1af1186b2db0eaf76 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 21 Apr 2022 07:29:27 -0700 Subject: [PATCH] add instructions for multi-arch build at top of Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4a63fd34..fe2070c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,10 @@ # docker run -v "$PWD/data":/data archivebox add 'https://example.com' # docker run -v "$PWD/data":/data -it archivebox manage createsuperuser # docker run -v "$PWD/data":/data -p 8000:8000 archivebox server +# Multi-arch build: +# docker buildx create --use +# docker buildx build . --platform=linux/amd64,linux/arm64,linux/386,linux/arm/v7 --push -t archivebox/archivebox:latest -t archivebox/archivebox:dev + FROM python:3.10-slim-bullseye