mirror of
https://github.com/bitnami/containers.git
synced 2026-03-25 15:27:42 +08:00
34 lines
2.5 KiB
Docker
34 lines
2.5 KiB
Docker
FROM docker.io/bitnami/minideb:bullseye
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-11" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl ghostscript gsfonts gzip imagemagick libaudit1 libbrotli1 libbsd0 libc6 libcap-ng0 libcom-err2 libcrypt1 libcurl4 libedit2 libffi7 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libicu67 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libmariadb3 libmd0 libncurses6 libnettle8 libnghttp2-14 libp11-kit0 libpam0g libpq5 libpsl5 libreadline-dev libreadline8 librtmp1 libsasl2-2 libssh2-1 libssl-dev libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 procps sqlite3 tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-152" --checksum 0c751c7e2ec0bc900a19dbec0306d6294fe744ddfb0fa64197ba1a36040092f0
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "yq" "4.26.1-1" --checksum 502f4119e04d7a74508a38d64cccfc332e08fe42335828129d2bf5e694fbec32
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ruby" "3.0.4-151" --checksum 1d5295193176cac03c44762c2a86025a03b1dbc12e7b7c13c79c13a085f27656
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-client" "11.16.0-151" --checksum af1e11b86d796e8fa2bc229d475f5037a201d727869a10e33e669b715e128d28
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mysql-client" "10.6.8-151" --checksum c85e4be9bcee70c86c7bc7e13742e2d97810ad8f7d6154f8b66811b6cc4d0948
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "git" "2.37.1-1" --checksum 39ea3040baa552b4760c1100a3713f86493620c0a74121c1ceba50fe17341878
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "redmine" "5.0.2-1" --checksum 6a596e7108b705bb24557f49214f0d2bac4a7d32aa1a9eff719af019e46475d7
|
|
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/mysql-client/postunpack.sh
|
|
RUN /opt/bitnami/scripts/redmine/postunpack.sh
|
|
ENV APP_VERSION="5.0.2" \
|
|
BITNAMI_APP_NAME="redmine" \
|
|
PATH="/opt/bitnami/common/bin:/opt/bitnami/ruby/bin:/opt/bitnami/postgresql/bin:/opt/bitnami/mysql/bin:/opt/bitnami/git/bin:$PATH"
|
|
|
|
EXPOSE 3000
|
|
|
|
USER root
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/redmine/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/redmine/run.sh" ]
|