aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-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"