Browse Source

build: Ursrv image for infrastructure

Jakob Borg 1 year ago
parent
commit
5c65a1bc83
2 changed files with 17 additions and 0 deletions
  1. 1 0
      .github/workflows/build-infra-dockers.yaml
  2. 16 0
      Dockerfile.ursrv

+ 1 - 0
.github/workflows/build-infra-dockers.yaml

@@ -22,6 +22,7 @@ jobs:
           - stcrashreceiver
           - strelaypoolsrv
           - stupgrades
+          - ursrv
     steps:
       - uses: actions/checkout@v4
         with:

+ 16 - 0
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" ]