mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 06:48:08 +08:00
34 lines
1.5 KiB
Docker
34 lines
1.5 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-6" --checksum 845ff207415b5730cadd45aa3c757ca45a5c9e73bc54c24aa481ddca24eec35d
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.4.1-3" --checksum 26f2ba99a02266d6f3857a3a11db7ed441d76a2fbc1066a17d4b0b17b047e01d
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor-core" "2.4.1-7" --checksum e995dd6d62784ff5121223ec60e248441d8ed1d23915582564d7e84e84663007
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-3" --checksum 276ab5a0be4b05e136ec468d62c8f9cc4f40d9664c55f01f16a9f1209ba16980
|
|
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 BITNAMI_APP_NAME="harbor-core" \
|
|
BITNAMI_IMAGE_VERSION="2.4.1-debian-10-r43" \
|
|
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" ]
|