aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2024-02-06 09:38:22 -0500
committermicah <micah@torproject.org>2024-03-03 14:07:33 +0000
commit913732356ac5c8ec7f10348b6e0432ced56e5e79 (patch)
treea97ca67d0229f729c5cfb437cca4f6880b2ef33c
parent0e593edc9afd5e14043e21675a84fc44a0ea32ab (diff)
downloadsnowflake-913732356ac5c8ec7f10348b6e0432ced56e5e79.tar.gz
snowflake-913732356ac5c8ec7f10348b6e0432ced56e5e79.zip
Build multi-arch image.
This will build only those architectures that we have runners to build on
-rw-r--r--Dockerfile7
1 files changed, 7 insertions, 0 deletions
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"