Skip to content

Commit

Permalink
Merge pull request #55 from chriskuehl/update-to-stretch
Browse files Browse the repository at this point in the history
Upgrade Docker image to stretch
  • Loading branch information
chriskuehl authored Dec 26, 2017
2 parents e59872e + d432b53 commit 31e5598
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM debian:jessie
FROM debian:stretch

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
ca-certificates \
dumb-init \
gcc \
libxml2-dev \
libxslt1-dev \
Expand All @@ -13,12 +14,8 @@ RUN apt-get update \
wget \
zlib1g-dev \
&& apt-get clean
RUN wget -O /tmp/dumb-init.deb \
https://github.com/Yelp/dumb-init/releases/download/v1.1.1/dumb-init_1.1.1_amd64.deb \
&& dpkg -i /tmp/dumb-init.deb \
&& rm /tmp/dumb-init.deb

ADD . /opt/fluffy
COPY . /opt/fluffy

RUN install --owner=nobody -d /srv/fluffy
USER nobody
Expand Down

0 comments on commit 31e5598

Please sign in to comment.