mirror of
https://github.com/bitnami/containers.git
synced 2026-03-11 16:07:50 +08:00
34 lines
1.4 KiB
Docker
34 lines
1.4 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux"
|
|
|
|
ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 procps tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "java" "11.0.14-1" --checksum 12dac62c46e7791520530e06a63ae68efd36a7cb34ed31d0c9f922948c145ff3
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wavefront-proxy" "10.14.0-1" --checksum a191fdbc489717278960bc76571a694aad337bd24693f1a091039b6f65e69ed3
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-3" --checksum 276ab5a0be4b05e136ec468d62c8f9cc4f40d9664c55f01f16a9f1209ba16980
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/java/postunpack.sh
|
|
RUN /opt/bitnami/scripts/wavefront-proxy/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="wavefront-proxy" \
|
|
BITNAMI_IMAGE_VERSION="10.14.0-debian-10-r5" \
|
|
JAVA_HOME="/opt/bitnami/java" \
|
|
PATH="/opt/bitnami/java/bin:/opt/bitnami/common/bin:$PATH"
|
|
|
|
EXPOSE 2878
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/wavefront-proxy/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/wavefront-proxy/scripts/run.sh" ]
|