Skip to content

Commit

Permalink
more hadolint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Dec 14, 2019
1 parent 06ec1a0 commit aba3ebd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignored:
- DL3008
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ LABEL maintainer "David J. M. Karlsen <[email protected]>"
ARG OVERMIND_VERSION=v2.0.3
ENV OVERMIND_SOCKET=/tmp/.overmind.sock
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt update && \
apt -y install daemontools git gosu tmux && \
apt clean && \
RUN apt-get update && \
apt-get -y --no-install-recommends install daemontools git gosu tmux && \
apt-get clean && \
curl --silent -L https://github.com/DarthSim/overmind/releases/download/${OVERMIND_VERSION}/overmind-${OVERMIND_VERSION}-linux-amd64.gz | zcat > /usr/local/bin/overmind && \
chmod a+x /usr/local/bin/overmind && \
useradd -c "application user" -d /app -s /bin/bash -m app -u 99 --system && \
find /var/cache/ -type f -delete
rm -rf /var/cache/apt /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY entrypoint.sh /
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]

0 comments on commit aba3ebd

Please sign in to comment.