From 55220165a23cad9916bba48e5d2f5d6a9ba09c38 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 13 Dec 2024 15:09:56 -0800 Subject: [PATCH] Apply templates --- 6.0/alpine3.19/Dockerfile | 3 +-- 6.0/alpine3.20/Dockerfile | 3 +-- 6.0/bookworm/Dockerfile | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/6.0/alpine3.19/Dockerfile b/6.0/alpine3.19/Dockerfile index c41b7d3..efcc905 100644 --- a/6.0/alpine3.19/Dockerfile +++ b/6.0/alpine3.19/Dockerfile @@ -75,6 +75,7 @@ RUN set -eux; \ ENV REDMINE_VERSION 6.0.1 ENV REDMINE_DOWNLOAD_URL https://www.redmine.org/releases/redmine-6.0.1.tar.gz ENV REDMINE_DOWNLOAD_SHA256 dcee3f15e3c15b9dbefba1fa9d8dfa12e89a7d40b3f3ed82da903d80d2548030 +ENV RAILS_LOG_TO_STDOUT true RUN set -eux; \ wget -O redmine.tar.gz "$REDMINE_DOWNLOAD_URL"; \ @@ -83,8 +84,6 @@ RUN set -eux; \ rm redmine.tar.gz files/delete.me log/delete.me; \ mkdir -p log public/plugin_assets sqlite tmp/pdf tmp/pids; \ chown -R redmine:redmine ./; \ -# log to STDOUT (https://github.com/docker-library/redmine/issues/108) - echo 'config.logger = Logger.new(STDOUT)' > config/additional_environment.rb; \ # fix permissions for running as an arbitrary user chmod -R ugo=rwX config db sqlite; \ find log tmp -type d -exec chmod 1777 '{}' + diff --git a/6.0/alpine3.20/Dockerfile b/6.0/alpine3.20/Dockerfile index 4a3c265..b10702b 100644 --- a/6.0/alpine3.20/Dockerfile +++ b/6.0/alpine3.20/Dockerfile @@ -75,6 +75,7 @@ RUN set -eux; \ ENV REDMINE_VERSION 6.0.1 ENV REDMINE_DOWNLOAD_URL https://www.redmine.org/releases/redmine-6.0.1.tar.gz ENV REDMINE_DOWNLOAD_SHA256 dcee3f15e3c15b9dbefba1fa9d8dfa12e89a7d40b3f3ed82da903d80d2548030 +ENV RAILS_LOG_TO_STDOUT true RUN set -eux; \ wget -O redmine.tar.gz "$REDMINE_DOWNLOAD_URL"; \ @@ -83,8 +84,6 @@ RUN set -eux; \ rm redmine.tar.gz files/delete.me log/delete.me; \ mkdir -p log public/plugin_assets sqlite tmp/pdf tmp/pids; \ chown -R redmine:redmine ./; \ -# log to STDOUT (https://github.com/docker-library/redmine/issues/108) - echo 'config.logger = Logger.new(STDOUT)' > config/additional_environment.rb; \ # fix permissions for running as an arbitrary user chmod -R ugo=rwX config db sqlite; \ find log tmp -type d -exec chmod 1777 '{}' + diff --git a/6.0/bookworm/Dockerfile b/6.0/bookworm/Dockerfile index df3490c..9d33e83 100644 --- a/6.0/bookworm/Dockerfile +++ b/6.0/bookworm/Dockerfile @@ -79,6 +79,7 @@ RUN set -eux; \ ENV REDMINE_VERSION 6.0.1 ENV REDMINE_DOWNLOAD_URL https://www.redmine.org/releases/redmine-6.0.1.tar.gz ENV REDMINE_DOWNLOAD_SHA256 dcee3f15e3c15b9dbefba1fa9d8dfa12e89a7d40b3f3ed82da903d80d2548030 +ENV RAILS_LOG_TO_STDOUT true RUN set -eux; \ # if we use wget here, we get certificate issues (https://github.com/docker-library/redmine/pull/249#issuecomment-984176479) @@ -88,8 +89,6 @@ RUN set -eux; \ rm redmine.tar.gz files/delete.me log/delete.me; \ mkdir -p log public/plugin_assets sqlite tmp/pdf tmp/pids; \ chown -R redmine:redmine ./; \ -# log to STDOUT (https://github.com/docker-library/redmine/issues/108) - echo 'config.logger = Logger.new(STDOUT)' > config/additional_environment.rb; \ # fix permissions for running as an arbitrary user chmod -R ugo=rwX config db sqlite; \ find log tmp -type d -exec chmod 1777 '{}' +