Files
containers/bitnami/harbor-portal/1/ol-7/Dockerfile
2019-07-24 07:09:08 +00:00

35 lines
1.3 KiB
Docker

FROM bitnami/oraclelinux-extras-base:7-r357
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
HOME="/" \
OS_ARCH="x86_64" \
OS_FLAVOUR="ol-7" \
OS_NAME="linux"
# Install required system packages and dependencies
RUN install_packages GeoIP glibc keyutils-libs krb5-libs libcom_err libselinux nss-softokn-freebl openssl-libs pcre zlib
RUN . ./libcomponent.sh && component_unpack "nginx" "1.16.0-13" --checksum 48c91e3a274ff2f9db599c85c799bd2cf5181ecd406c37fb44ee56561d31d4fe
RUN . ./libcomponent.sh && component_unpack "harbor" "1.8.2-rc1-0" --checksum da1195c709c40e78e53eac2b07697f5a90cdcc7ce87e5ed9e7e72ccf9c4aa44d
RUN ln -sf /dev/stdout /opt/bitnami/nginx/logs/access.log
RUN ln -sf /dev/stderr /opt/bitnami/nginx/logs/error.log
RUN chmod -R g+rwX /opt/bitnami/nginx/conf
COPY rootfs /
RUN /postunpack.sh
RUN /postunpack-harbor-portal.sh
ENV BITNAMI_APP_NAME="harbor-portal" \
BITNAMI_IMAGE_VERSION="1.8.2-rc1-ol-7-r2" \
NAMI_PREFIX="/.nami" \
NGINX_ENABLE_CUSTOM_PORTS="no" \
NGINX_HTTPS_PORT_NUMBER="" \
NGINX_HTTP_PORT_NUMBER="" \
PATH="/opt/bitnami/nginx/sbin:/opt/bitnami/harbor/bin:$PATH"
EXPOSE 8080 8443
WORKDIR /opt/bitnami/harbor
USER 1001
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "/run.sh" ]