Skip to content

Commit

Permalink
feat: use tini
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpeople committed Oct 29, 2021
1 parent 0d20ae2 commit 1088def
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ENV LC_ALL="C.UTF-8"
# Upgrade and install dependencies
# hadolint ignore=DL3018,DL3019
RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
apk add --no-cache --upgrade openjdk8-jre ca-certificates libstdc++ ffmpeg wget jq moreutils@community && \
apk add --no-cache --upgrade openjdk8-jre ca-certificates libstdc++ ffmpeg wget jq moreutils@community tini && \
mkdir -p /init && \
mkdir -p /opt/JDownloader && \
wget -q -O /init/JDownloader.jar --user-agent="Github Docker Image Build (https://github.com/tuxpeople)" "http://installer.jdownloader.org/JDownloader.jar" && \
Expand All @@ -46,4 +46,6 @@ EXPOSE 3129
WORKDIR /opt/JDownloader
VOLUME /opt/JDownloader

ENTRYPOINT ["/sbin/tini", "--"]

CMD ["/entrypoint.sh"]

0 comments on commit 1088def

Please sign in to comment.