mirror of
https://github.com/bitnami/containers.git
synced 2026-03-08 10:47:20 +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"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 procps tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.1-10" --checksum 35c818ba3f4b5aae905959bc7d3a5e81fc63786e3c662b604612c0aa7fcda8fd
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.4.1-7" --checksum 7a4f45cbebd2e242278060415dd1a3f0dbe68991fdcaea5bb311e8de54a3e027
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor-core" "2.5.0-0" --checksum a2135090721d6d1ceb17b21e01ad73928f5501a1360d37165cf43a0306adeea7
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1
|
|
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/harbor-core/postunpack.sh
|
|
ENV APP_VERSION="2.5.0" \
|
|
BITNAMI_APP_NAME="harbor-core" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/harbor-core/bin:$PATH"
|
|
|
|
VOLUME [ "/data", "/etc/core" ]
|
|
|
|
EXPOSE 8080
|
|
|
|
WORKDIR /opt/bitnami/harbor-core
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/harbor-core/entrypoint.sh" ]
|
|
CMD [ "harbor_core" ]
|