45 lines
2.2 KiB
Docker
45 lines
2.2 KiB
Docker
FROM docker.io/bitnami/minideb:bullseye
|
|
ENV OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-11" \
|
|
OS_NAME="linux"
|
|
|
|
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
|
org.opencontainers.image.description="Application packaged by Bitnami" \
|
|
org.opencontainers.image.ref.name="2.4.6-debian-11-r17" \
|
|
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kubeapps-dashboard" \
|
|
org.opencontainers.image.title="kubeapps-dashboard" \
|
|
org.opencontainers.image.vendor="VMware, Inc." \
|
|
org.opencontainers.image.version="2.4.6"
|
|
|
|
COPY prebuildfs /
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 libcrypt1 libgeoip1 libpcre3 libssl1.1 procps tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx" "1.23.1-1" --checksum b77b19f3cce1d5f59a83a2035b2f59763447ffe29ac4a267e417582a2cc5c4ea
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.3-152" --checksum 7909504f3232654c427681ecc8ed4b8599a2df0f17f26ff769a83ed167d05b69
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "kubeapps" "2.4.6-2" --checksum 07bbe5e7e4e00beda2aeba682c49ebf57acd8284a24d748ae4f98caa8bca03ab
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-153" --checksum d3ae0109be24e8bc56f97359b8290b91243454de946dd60bd8520a0896a88449
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN ln -sf /dev/stdout /opt/bitnami/nginx/logs/access.log
|
|
RUN ln -sf /dev/stderr /opt/bitnami/nginx/logs/error.log
|
|
|
|
COPY rootfs /
|
|
RUN rm -rf /app && \
|
|
ln -sf /opt/bitnami/kubeapps /opt/bitnami/kubeapps-dashboard && \
|
|
mv /opt/bitnami/kubeapps/build /app
|
|
RUN chmod -R g+rwX /opt/bitnami/nginx/conf
|
|
RUN /opt/bitnami/scripts/nginx/postunpack.sh
|
|
ENV APP_VERSION="2.4.6" \
|
|
BITNAMI_APP_NAME="kubeapps-dashboard" \
|
|
NGINX_HTTPS_PORT_NUMBER="" \
|
|
NGINX_HTTP_PORT_NUMBER="" \
|
|
PATH="/opt/bitnami/nginx/sbin:/opt/bitnami/common/bin:$PATH"
|
|
|
|
EXPOSE 8080 8443
|
|
|
|
WORKDIR /app
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/nginx/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/nginx/run.sh" ]
|