FROM docker.io/bitnami/minideb:buster LABEL maintainer "Bitnami " ENV OS_ARCH="amd64" \ OS_FLAVOUR="debian-10" \ OS_NAME="linux" COPY prebuildfs / # Install required system packages and dependencies RUN install_packages acl ca-certificates curl gzip libc6 libgeoip1 libpcre3 libssl1.1 procps tar zlib1g RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx" "1.18.0-6" --checksum a5b933834cf3a32b7fb7b15e633714991be2050c1f7cb1db377105bd8d1780e3 RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.0-3" --checksum 8179ad1371c9a7d897fe3b1bf53bbe763f94edafef19acad2498dd48b3674efe RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "kubeapps" "2.0.1-0" --checksum c97397a0839b45e8578f61eab966987ff68d61534e3a8d70869e1e0895699669 RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.12.0-2" --checksum 4d858ac600c38af8de454c27b7f65c0074ec3069880cb16d259a6e40a46bbc50 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 BITNAMI_APP_NAME="kubeapps-dashboard" \ BITNAMI_IMAGE_VERSION="2.0.1-debian-10-r38" \ NGINX_ENABLE_CUSTOM_PORTS="no" \ 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" ]