mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2025-02-23 11:47:58 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
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>
26 lines
707 B
Docker
26 lines
707 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 server
|
|
|
|
FROM alpine:3
|
|
|
|
ENV CONFIG=/config/server.conf
|
|
RUN adduser -D spreedbackend && \
|
|
apk add --no-cache bash tzdata ca-certificates su-exec
|
|
|
|
COPY --from=builder /workdir/bin/signaling /usr/bin/nextcloud-spreed-signaling
|
|
COPY ./server.conf.in /config/server.conf.in
|
|
COPY ./docker/server/entrypoint.sh /
|
|
COPY ./docker/server/stop.sh /
|
|
COPY ./docker/server/wait.sh /
|
|
RUN /usr/bin/nextcloud-spreed-signaling -version
|
|
|
|
STOPSIGNAL SIGUSR1
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|