mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 14:58:03 +08:00
32 lines
1.4 KiB
Docker
32 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-5" --checksum 1e34030c18f0ec2467fa5f1b1fbad24add217f671c3a61628f7b8671391f9676
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.4.1-1" --checksum d7c3c81138361e10e6ddd7eae3ac323740a8477ce395a8c00ab0dba76fd25948
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor-core" "2.4.1-1" --checksum 355341c0549fad61cab7a19b6561606548b504e0f840ee2321a31cb661d496a7
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-1" --checksum 16f1a317859b06ae82e816b30f98f28b4707d18fe6cc3881bff535192a7715dc
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/harbor-core/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="harbor-core" \
|
|
BITNAMI_IMAGE_VERSION="2.4.1-debian-10-r19" \
|
|
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" ]
|