Skip to content

Commit

Permalink
Merge pull request #1692 from aledbf/slim
Browse files Browse the repository at this point in the history
Rollback to nginx-slim 0.28 until new nginx-slim-release
  • Loading branch information
aledbf authored Nov 12, 2017
2 parents 68a2474 + 896b407 commit fea1173
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,19 @@ FROM BASEIMAGE

CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/

# install dumb-init from zesty
RUN clean-install \
diffutils \
dumb-init
RUN if grep -q -i "ports.ubuntu.com" /etc/apt/sources.list; \ +RUN clean-install \
then \
echo "deb http://ports.ubuntu.com/ubuntu-ports zesty universe" >> /etc/apt/sources.list; \
else \
echo "deb http://archive.ubuntu.com/ubuntu zesty universe" >> /etc/apt/sources.list; \
fi \
&& DEBIAN_FRONTEND=noninteractive apt-get update \
&& apt-get install -y \
diffutils \
dumb-init \
--no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

ENTRYPOINT ["/usr/bin/dumb-init"]

Expand Down

0 comments on commit fea1173

Please sign in to comment.