Skip to content

Commit

Permalink
Switch to using Debian
Browse files Browse the repository at this point in the history
A bunch of things weren't installing for some reason. Also:

https://pythonspeed.com/articles/alpine-docker-python/
  • Loading branch information
bfirsh committed May 20, 2020
1 parent 77cff1e commit f4d3170
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
FROM python:3.6.8-alpine3.8

# So Pillow can find zlib
ENV LIBRARY_PATH /lib:/usr/lib

RUN apk add --no-cache \
bash \
build-base \
curl \
jpeg \
jpeg-dev \
libxslt \
libxslt-dev \
libxml2 \
libxml2-dev \
nodejs \
npm \
postgresql-dev \
postgresql-libs \
zlib \
zlib-dev
FROM python:3.6.8-slim

RUN apt-get update -qq && apt-get install -yq \
build-essential \
curl \
netcat

RUN curl -sL https://deb.nodesource.com/setup_10.x | bash
RUN apt-get update -qq && apt-get install -yq nodejs npm

# https://bitbucket.org/site/master/issues/16334/pipelines-failing-with-could-not-get-uid
# https://github.com/npm/npm/issues/20861
Expand Down

0 comments on commit f4d3170

Please sign in to comment.