Bumps ubuntu from `d1e2e92` to `186072b`. --- updated-dependencies: - dependency-name: ubuntu dependency-version: '24.04' dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
1006 B
Docker
29 lines
1006 B
Docker
# ubuntu:24.04 - pinned to digest for reproducibility (2026-02-05)
|
|
FROM ubuntu:24.04@sha256:186072bba1b2f436cbb91ef2567abca677337cfc786c86e107d25b7072feef0c
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/getprobo/probo"
|
|
LABEL org.opencontainers.image.licenses="MIT"
|
|
LABEL org.opencontainers.image.vendor="Probo Inc"
|
|
|
|
RUN useradd -m probo && \
|
|
apt-get update && \
|
|
apt-get upgrade -y && \
|
|
apt-get install -y ca-certificates libcap2-bin && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
ARG TARGETPLATFORM
|
|
COPY $TARGETPLATFORM/probod /usr/local/bin/probod
|
|
COPY $TARGETPLATFORM/probod-bootstrap /usr/local/bin/probod-bootstrap
|
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
|
|
RUN chmod +x /usr/local/bin/probod && \
|
|
chmod +x /usr/local/bin/probod-bootstrap && \
|
|
chmod +x /usr/local/bin/entrypoint.sh && \
|
|
setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/probod && \
|
|
mkdir -p /etc/probod && \
|
|
chown probo:probo /etc/probod
|
|
|
|
USER probo
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|