aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.ursrv
diff options
context:
space:
mode:
authorJakob Borg <jakob@kastelo.net>2023-11-15 08:46:11 +0100
committerJakob Borg <jakob@kastelo.net>2023-11-15 08:48:00 +0100
commit5c65a1bc831900ae116f95f02cd1f30a8950ba07 (patch)
tree316bced626adb8057847f6c828814a7a2951934c /Dockerfile.ursrv
parentd0a6dc5b1385c652393b2d7738a836ea515cf5b3 (diff)
downloadsyncthing-5c65a1bc831900ae116f95f02cd1f30a8950ba07.tar.gz
syncthing-5c65a1bc831900ae116f95f02cd1f30a8950ba07.zip
build: Ursrv image for infrastructure
Diffstat (limited to 'Dockerfile.ursrv')
-rw-r--r--Dockerfile.ursrv16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile.ursrv b/Dockerfile.ursrv
new file mode 100644
index 000000000..0f7fc86ee
--- /dev/null
+++ b/Dockerfile.ursrv
@@ -0,0 +1,16 @@
+FROM alpine
+ARG TARGETARCH
+
+LABEL org.opencontainers.image.authors="The Syncthing Project" \
+ org.opencontainers.image.url="https://syncthing.net" \
+ org.opencontainers.image.documentation="https://docs.syncthing.net" \
+ org.opencontainers.image.source="https://github.com/syncthing/syncthing" \
+ org.opencontainers.image.vendor="The Syncthing Project" \
+ org.opencontainers.image.licenses="MPL-2.0" \
+ org.opencontainers.image.title="Syncthing Usage Reporting Server"
+
+EXPOSE 8080
+
+COPY ursrv-linux-${TARGETARCH} /bin/ursrv
+
+ENTRYPOINT [ "/bin/ursrv" ]