Skip to content

Commit

Permalink
Merge pull request #5653 from hypothesis/update-alpine2
Browse files Browse the repository at this point in the history
Update to Alpine Linux 3.10
  • Loading branch information
dmfine authored Jul 11, 2019
2 parents 6ee7e9e + 38565e1 commit 78597cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ COPY h/static ./h/static
RUN npm run build

# Stage 2: Build the rest of the app using the build output from Stage 1.
FROM alpine:3.9.4
FROM python:3.6.9-alpine3.10
LABEL maintainer="Hypothes.is Project and contributors"

# Install system build and runtime dependencies.
RUN apk add --no-cache \
ca-certificates \
collectd \
collectd-disk \
collectd-nginx \
Expand Down Expand Up @@ -54,7 +53,6 @@ RUN apk add --no-cache --virtual build-deps \
build-base \
libffi-dev \
postgresql-dev \
python-dev \
&& pip install --no-cache-dir -U pip \
&& pip install --no-cache-dir -r requirements.txt \
&& apk del build-deps
Expand Down

0 comments on commit 78597cc

Please sign in to comment.