openproject (sha256:b3aedc17c3000df193b7dadb0ada248cfeb59989bf8a581e09d99bbe38570cb3)
Published 2024-11-05 21:45:13 +01:00 by aaron
Installation
docker pull git.ar21.de/aaron/openproject@sha256:b3aedc17c3000df193b7dadb0ada248cfeb59989bf8a581e09d99bbe38570cb3
sha256:b3aedc17c3000df193b7dadb0ada248cfeb59989bf8a581e09d99bbe38570cb3
About this package
OpenProject is the leading open source project management software.
Image Layers
ADD file:0d5bdf84bbcdfa95d42190537e3cad2c0a5876f9127fae6a1d1c485d3539c77d in / |
CMD ["bash"] |
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* |
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* |
/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/* |
RUN /bin/sh -c set -eux; mkdir -p /usr/local/etc; { echo 'install: --no-document'; echo 'update: --no-document'; } >> /usr/local/etc/gemrc # buildkit |
ENV LANG=C.UTF-8 |
ENV RUBY_VERSION=3.3.4 |
ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.xz |
ENV RUBY_DOWNLOAD_SHA256=1caaee9a5a6befef54bab67da68ace8d985e4fb59cd17ce23c28d9ab04f4ddad |
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev libgdbm-dev ruby ; rm -rf /var/lib/apt/lists/*; rustArch=; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in 'amd64') rustArch='x86_64-unknown-linux-gnu'; rustupUrl='https://static.rust-lang.org/rustup/archive/1.26.0/x86_64-unknown-linux-gnu/rustup-init'; rustupSha256='0b2f6c8f85a3d02fde2efc0ced4657869d73fccfce59defb4e8d29233116e6db' ;; 'arm64') rustArch='aarch64-unknown-linux-gnu'; rustupUrl='https://static.rust-lang.org/rustup/archive/1.26.0/aarch64-unknown-linux-gnu/rustup-init'; rustupSha256='673e336c81c65e6b16dcdede33f4cc9ed0f08bde1dbe7a935f113605292dc800' ;; esac; if [ -n "$rustArch" ]; then mkdir -p /tmp/rust; wget -O /tmp/rust/rustup-init "$rustupUrl"; echo "$rustupSha256 */tmp/rust/rustup-init" | sha256sum --check --strict; chmod +x /tmp/rust/rustup-init; export RUSTUP_HOME='/tmp/rust/rustup' CARGO_HOME='/tmp/rust/cargo'; export PATH="$CARGO_HOME/bin:$PATH"; /tmp/rust/rustup-init -y --no-modify-path --profile minimal --default-toolchain '1.74.1' --default-host "$rustArch"; rustc --version; cargo --version; fi; wget -O ruby.tar.xz "$RUBY_DOWNLOAD_URL"; echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.xz" | sha256sum --check --strict; mkdir -p /usr/src/ruby; tar -xJf ruby.tar.xz -C /usr/src/ruby --strip-components=1; rm ruby.tar.xz; cd /usr/src/ruby; { echo '#define ENABLE_PATH_CHECK 0'; echo; cat file.c; } > file.c.new; mv file.c.new file.c; autoconf; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --disable-install-doc --enable-shared ${rustArch:+--enable-yjit} ; make -j "$(nproc)"; make install; rm -rf /tmp/rust; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; cd /; rm -r /usr/src/ruby; if dpkg -l | grep -i ruby; then exit 1; fi; [ "$(command -v ruby)" = '/usr/local/bin/ruby' ]; ruby --version; gem --version; bundle --version # buildkit |
ENV GEM_HOME=/usr/local/bundle |
ENV BUNDLE_SILENCE_ROOT_WARNING=1 BUNDLE_APP_CONFIG=/usr/local/bundle |
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
RUN /bin/sh -c set -eux; mkdir "$GEM_HOME"; chmod 1777 "$GEM_HOME" # buildkit |
CMD ["irb"] |
LABEL maintainer=operations@openproject.com |
ARG BUNDLER_VERSION=2.5.13 |
ARG NODE_VERSION=20.9.0 |
ARG BIM_SUPPORT=true |
ENV USE_JEMALLOC=false |
ENV DEBIAN_FRONTEND=noninteractive |
ENV BUNDLE_JOBS=8 |
ENV BUNDLE_RETRY=3 |
ENV BUNDLE_WITHOUT=development:test |
ENV DOCKER=1 |
ENV APP_USER=app |
ENV APP_PATH=/app |
ENV APP_DATA_PATH=/var/openproject/assets |
ENV PGVERSION=13 |
ENV CURRENT_PGVERSION=13 |
ENV NEXT_PGVERSION=15 |
ENV PGBIN=/usr/lib/postgresql/13/bin |
ENV BUNDLE_WITHOUT=development:test |
ENV SECRET_KEY_BASE=OVERWRITE_ME |
ENV RAILS_ENV=production |
ENV RAILS_LOG_TO_STDOUT=1 |
ENV RAILS_SERVE_STATIC_FILES=1 |
ENV OPENPROJECT_EDITION=standard |
ENV OPENPROJECT_INSTALLATION__TYPE=docker |
ENV OPENPROJECT_ATTACHMENTS__STORAGE__PATH=/var/openproject/assets/files |
ENV OPENPROJECT_RAILS__CACHE__STORE=file_store |
ENV OPENPROJECT_ANGULAR_UGLIFY=true |
RUN |3 BUNDLER_VERSION=2.5.13 NODE_VERSION=20.9.0 BIM_SUPPORT=true /bin/sh -c useradd -d /home/$APP_USER -m $APP_USER && mkdir -p $APP_PATH && chown $APP_USER:$APP_USER $APP_PATH && mkdir -p $APP_DATA_PATH && chown $APP_USER:$APP_USER $APP_DATA_PATH && chmod g+rwx $APP_DATA_PATH # buildkit |
WORKDIR /app |
RUN |3 BUNDLER_VERSION=2.5.13 NODE_VERSION=20.9.0 BIM_SUPPORT=true /bin/sh -c gem install bundler --version "$BUNDLER_VERSION" --no-document # buildkit |
COPY ./docker/prod/setup/preinstall-common.sh ./docker/prod/setup/preinstall-common.sh # buildkit |
RUN |3 BUNDLER_VERSION=2.5.13 NODE_VERSION=20.9.0 BIM_SUPPORT=true /bin/sh -c ./docker/prod/setup/preinstall-common.sh # buildkit |
COPY Gemfile Gemfile.* .ruby-version ./ # buildkit |
COPY modules ./modules # buildkit |
COPY vendor ./vendor # buildkit |
COPY lib ./lib # buildkit |
RUN |3 BUNDLER_VERSION=2.5.13 NODE_VERSION=20.9.0 BIM_SUPPORT=true /bin/sh -c bundle config set --local path 'vendor/bundle' && bundle config set --local without 'test development' && bundle install --quiet --no-cache --jobs=8 --retry=3 && bundle config set deployment 'true' && cp Gemfile.lock Gemfile.lock.bak && rm -rf vendor/bundle/ruby/*/cache && rm -rf vendor/bundle/ruby/*/gems/*/spec && rm -rf vendor/bundle/ruby/*/gems/*/test # buildkit |
COPY . . # buildkit |
RUN |3 BUNDLER_VERSION=2.5.13 NODE_VERSION=20.9.0 BIM_SUPPORT=true /bin/sh -c cp Gemfile.lock.bak Gemfile.lock && rm Gemfile.lock.bak && ./docker/prod/setup/precompile-assets.sh && ./docker/prod/setup/postinstall-common.sh && cp ./config/database.production.yml config/database.yml && ln -s $APP_PATH/docker/prod/setup/.irbrc /home/$APP_USER/ # buildkit |
USER app |
EXPOSE map[8080/tcp:{}] |
CMD ["./docker/prod/web"] |
ENTRYPOINT ["./docker/prod/entrypoint-slim.sh"] |
VOLUME [/var/openproject/assets] |
ADD --chmod=644 https://gist.githubusercontent.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45/raw/148c5067e30eae04f96e3233144b4404f70ade47/enterprise_token.rb /app/app/models/enterprise_token.rb # buildkit |
Labels
Key | Value |
---|---|
io.artifacthub.package.logo-url | https://raw.githubusercontent.com/opf/openproject/refs/heads/dev/docker/prod/logo.png |
io.artifacthub.package.readme-url | https://raw.githubusercontent.com/opf/openproject/refs/heads/dev/docker/prod/README.md |
maintainer | operations@openproject.com |
org.opencontainers.image.created | 2024-11-05T20:44:36Z |
org.opencontainers.image.description | OpenProject is the leading open source project management software. |
org.opencontainers.image.documentation | https://www.openproject.org/docs/installation-and-operations/installation/ |
org.opencontainers.image.licenses | GPL-3.0 |
org.opencontainers.image.revision | 9746b7eb0c3ced0ffc8be6bc3eac59ca62924e63 |
org.opencontainers.image.source | https://git.ar21.de/aaron/openproject.git |
org.opencontainers.image.title | openproject |
org.opencontainers.image.url | https://git.ar21.de/aaron/openproject |
org.opencontainers.image.vendor | OpenProject GmbH |
org.opencontainers.image.version | 14.6.3 |
Details
2024-11-05 21:45:13 +01:00
Versions (9)
View all
Container
5
OCI / Docker
linux/amd64
GPL-3.0
825 MiB