File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,15 @@ RUN set -eux; \
67
67
ENV RAILS_ENV production
68
68
WORKDIR /usr/src/redmine
69
69
70
+ # https://github.com/docker-library/redmine/issues/138#issuecomment-438834176
71
+ # (bundler needs this for running as an arbitrary user)
72
+ ENV HOME /home/redmine
73
+ RUN set -eux; \
74
+ [ ! -d "$HOME" ]; \
75
+ mkdir -p "$HOME" ; \
76
+ chown redmine:redmine "$HOME" ; \
77
+ chmod 1777 "$HOME"
78
+
70
79
ENV REDMINE_VERSION 3.3.8
71
80
ENV REDMINE_DOWNLOAD_MD5 6ca9284fa1c3571f6c83dd0e0d0fec1b
72
81
Original file line number Diff line number Diff line change @@ -67,6 +67,15 @@ RUN set -eux; \
67
67
ENV RAILS_ENV production
68
68
WORKDIR /usr/src/redmine
69
69
70
+ # https://github.com/docker-library/redmine/issues/138#issuecomment-438834176
71
+ # (bundler needs this for running as an arbitrary user)
72
+ ENV HOME /home/redmine
73
+ RUN set -eux; \
74
+ [ ! -d "$HOME" ]; \
75
+ mkdir -p "$HOME" ; \
76
+ chown redmine:redmine "$HOME" ; \
77
+ chmod 1777 "$HOME"
78
+
70
79
ENV REDMINE_VERSION 3.4.6
71
80
ENV REDMINE_DOWNLOAD_MD5 5f4993446ecf25782f469763c0d32ea1
72
81
Original file line number Diff line number Diff line change @@ -67,6 +67,15 @@ RUN set -eux; \
67
67
ENV RAILS_ENV production
68
68
WORKDIR /usr/src/redmine
69
69
70
+ # https://github.com/docker-library/redmine/issues/138#issuecomment-438834176
71
+ # (bundler needs this for running as an arbitrary user)
72
+ ENV HOME /home/redmine
73
+ RUN set -eux; \
74
+ [ ! -d "$HOME" ]; \
75
+ mkdir -p "$HOME"; \
76
+ chown redmine:redmine "$HOME"; \
77
+ chmod 1777 "$HOME"
78
+
70
79
ENV REDMINE_VERSION %%REDMINE_VERSION%%
71
80
ENV REDMINE_DOWNLOAD_MD5 %%REDMINE_DOWNLOAD_MD5%%
72
81
You can’t perform that action at this time.
0 commit comments