|
@@ -123,6 +123,15 @@ LABEL maintainer Yuki Takei <yuki@weseek.co.jp>
|
|
|
|
|
|
|
|
ENV appDir /opt/growi
|
|
ENV appDir /opt/growi
|
|
|
|
|
|
|
|
|
|
+# Add gosu
|
|
|
|
|
+# see: https://github.com/tianon/gosu/blob/1.13/INSTALL.md
|
|
|
|
|
+RUN set -eux; \
|
|
|
|
|
+ apt-get update; \
|
|
|
|
|
+ apt-get install -y gosu; \
|
|
|
|
|
+ rm -rf /var/lib/apt/lists/*; \
|
|
|
|
|
+# verify that the binary works
|
|
|
|
|
+ gosu nobody true
|
|
|
|
|
+
|
|
|
# Add Tini
|
|
# Add Tini
|
|
|
ENV TINI_VERSION v0.19.0
|
|
ENV TINI_VERSION v0.19.0
|
|
|
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
|
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|