f11bd5e76b
Bumps alpine from 3.14.0 to 3.14.2. --- updated-dependencies: - dependency-name: alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
28 lines
557 B
Docker
28 lines
557 B
Docker
FROM alpine:3.14.2 as builder
|
|
|
|
WORKDIR /go/src/github.com/systemli/prometheus-jitsi-meet-exporter
|
|
|
|
ENV USER=appuser
|
|
ENV UID=10001
|
|
|
|
RUN adduser \
|
|
--disabled-password \
|
|
--gecos "" \
|
|
--home "/nonexistent" \
|
|
--shell "/sbin/nologin" \
|
|
--no-create-home \
|
|
--uid "${UID}" \
|
|
"${USER}"
|
|
|
|
|
|
FROM scratch
|
|
|
|
COPY --from=builder /etc/passwd /etc/passwd
|
|
COPY --from=builder /etc/group /etc/group
|
|
COPY prometheus-jitsi-meet-exporter /prometheus-jitsi-meet-exporter
|
|
|
|
USER appuser:appuser
|
|
|
|
EXPOSE 9888
|
|
|
|
ENTRYPOINT ["/prometheus-jitsi-meet-exporter"]
|