This commit is contained in:
crusader
2018-03-26 23:06:35 +09:00
parent 92d3f727e7
commit 497785553d
4 changed files with 10 additions and 4 deletions

View File

@@ -14,13 +14,12 @@ ADD target/${APP_FILENAME} ${APP_HOME_PATH}/
RUN apk add --no-cache curl \
&& chmod +x /opt/bin/*.sh
ENV TINI_VERSION='0.15.0' \
ENV TINI_VERSION='0.17.0' \
TINI_SHA='4007655082f573603c02bc1d2137443c8e153af047ffd088d02ccc01e6f06170'
# Use tini as subreaper in Docker container to adopt zombie processes
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static-amd64 -o /bin/tini \
&& chmod +x /bin/tini \
&& echo "$TINI_SHA /bin/tini" | sha256sum -c -
&& chmod +x /bin/tini
VOLUME ${APP_CONF_PATH}
EXPOSE 50006