0
0
Fork 0
mirror of https://github.com/strukturag/nextcloud-spreed-signaling.git synced 2025-04-05 03:45:26 +00:00
strukturag_nextcloud-spreed.../docker/proxy/Dockerfile
dependabot[bot] 972f0db360
build(deps): bump golang in /docker/proxy
Bumps golang from 1.23-alpine to 1.24-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 20:21:19 +00:00

26 lines
708 B
Docker

FROM --platform=${BUILDPLATFORM} golang:1.24-alpine AS builder
ARG TARGETARCH
ARG TARGETOS
WORKDIR /workdir
COPY . .
RUN touch /.dockerenv && \
apk add --no-cache bash git make && \
GOOS=${TARGETOS} GOARCH=${TARGETARCH} make proxy
FROM alpine:3
ENV CONFIG=/config/proxy.conf
RUN adduser -D spreedbackend && \
apk add --no-cache bash tzdata ca-certificates su-exec
COPY --from=builder /workdir/bin/proxy /usr/bin/nextcloud-spreed-signaling-proxy
COPY ./proxy.conf.in /config/proxy.conf.in
COPY ./docker/proxy/entrypoint.sh /
COPY ./docker/proxy/stop.sh /
COPY ./docker/proxy/wait.sh /
RUN /usr/bin/nextcloud-spreed-signaling-proxy -version
STOPSIGNAL SIGUSR1
ENTRYPOINT [ "/entrypoint.sh" ]