mirror of
https://github.com/bitnami/containers.git
synced 2026-03-29 16:27:49 +08:00
30 lines
1.2 KiB
Docker
30 lines
1.2 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 "yq" "4.16.2-0" --checksum 8200ea4477d139cb9be607a962760075e9240a760b56fb2f1f870a7facbf3e69
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "harbor-jobservice" "2.4.1-0" --checksum fb40028afaeac7c3d9a94ceaecc8990f70457a3351589785b96b4aedae0554ad
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/harbor-jobservice/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="harbor-jobservice" \
|
|
BITNAMI_IMAGE_VERSION="2.4.1-debian-10-r15" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/harbor-jobservice/bin:$PATH"
|
|
|
|
VOLUME [ "/etc/jobservice", "/var/log/jobs" ]
|
|
|
|
EXPOSE 8080 8443
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/harbor-jobservice/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/harbor-jobservice/run.sh" ]
|