Skip to content

Commit

Permalink
chore: switch to debian based python image
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Bleuler committed Feb 11, 2021
1 parent ce0df32 commit 3557169
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM python:3.7-alpine
FROM python:3.7-slim

LABEL maintainer="info@datascience.ch"

RUN apk update && \
apk add --no-cache curl build-base libffi-dev openssl-dev && \
pip install --no-cache-dir --disable-pip-version-check -U pip && \
RUN pip install --no-cache-dir --disable-pip-version-check -U pip && \
pip install --no-cache-dir --disable-pip-version-check pipenv && \
addgroup -g 1000 kyaku && \
adduser -S -u 1000 -G kyaku kyaku
groupadd -g 1000 kyaku && \
useradd -u 1000 -g kyaku kyaku

# Install all packages
COPY Pipfile Pipfile.lock /renku-notebooks/
Expand Down

0 comments on commit 3557169

Please sign in to comment.