From 913732356ac5c8ec7f10348b6e0432ced56e5e79 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 6 Feb 2024 09:38:22 -0500 Subject: [PATCH] Build multi-arch image. This will build only those architectures that we have runners to build on --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index a2017e5..28bd78b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,12 @@ FROM docker.io/library/golang:1.21 AS build +# Set some labels + +# io.containers.autoupdate label will instruct podman to reach out to the corres +# corresponding registry to check if the image has been updated. If an image +# must be updated, Podman pulls it down and restarts the systemd unit executing +# the container. See podman-auto-update(1) for more details, or +# https://docs.podman.io/en/latest/markdown/podman-auto-update.1.html LABEL io.containers.autoupdate=registry LABEL org.opencontainers.image.authors="anti-censorship-team@lists.torproject.org"