Skip to content

Commit

Permalink
- added extra deps for alpine for latest unicon
Browse files Browse the repository at this point in the history
- workaround for pypa/pip#6171
  • Loading branch information
simingy committed Jan 24, 2019
1 parent c3c51c0 commit 520704e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions 5.1/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ RUN apk add python3 \
linux-headers \
musl-dev \
busybox-extras \
openssh-client
openssh-client \
libffi-dev \
openssl-dev

# workspace location
ARG WORKSPACE
Expand All @@ -17,8 +19,12 @@ ENV WORKSPACE ${WORKSPACE:-/pyats}
# copy wheel files into repo
ADD src /src

# upgrade system pip
# (otherwise some dependencies will fail to install)
RUN pip3 install --upgrade pip

# install pyats into system python
RUN pip3 install --no-cache-dir /src/*
RUN pip3 install --no-use-pep517 --no-cache-dir /src/*

# create virtual environment
# - preserve system package usage
Expand Down

0 comments on commit 520704e

Please sign in to comment.