-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop creating secrets.yml and just use SECRET_KEY_BASE
env
#365
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,19 @@ RUN set -eux; \ | |
curl -fL -o redmine.tar.gz "$REDMINE_DOWNLOAD_URL"; \ | ||
echo "$REDMINE_DOWNLOAD_SHA256 *redmine.tar.gz" | sha256sum -c -; \ | ||
tar -xf redmine.tar.gz --strip-components=1; \ | ||
{{ if .version | IN("5.0.10", "5.1.5") then ( -}} | ||
# https://www.redmine.org/issues/42113 (aka https://github.com/rails/rails/issues/54260) | ||
# 5.1: https://github.com/redmine/redmine/commit/c7b1f00fc1b42fd9f77b8e6574dae453ced642b4 | ||
# 5.0: https://github.com/redmine/redmine/commit/f27570120b7a672249bfebfe4d62da506785e146 | ||
apt-get update; \ | ||
apt-get install -y --no-install-recommends patch; \ | ||
wget -O 42113.patch 'https://github.com/redmine/redmine/commit/c7b1f00fc1b42fd9f77b8e6574dae453ced642b4.patch?full_index=1'; \ | ||
echo 'e352699be3995ff6e3b0066a478e377922fa95ce9fe4729240cd98dcee3c8575 *42113.patch' | sha256sum -c -; \ | ||
patch -p1 < 42113.patch; \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can technically be |
||
rm 42113.patch; \ | ||
apt-get purge -y --auto-remove patch; \ | ||
rm -rf /var/lib/apt/lists/*; \ | ||
{{ ) else "" end -}} | ||
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 ./; \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's possible BusyBox's
patch
is enough, but it's not that important (esp. as it's temporary) 👍