Skip to content

Commit

Permalink
fixed cnn_serving dockerfile that was stale
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Ustiugov <[email protected]>
  • Loading branch information
ustiugov committed Dec 13, 2020
1 parent 9cc3efd commit fd239e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions function-images/cnn_serving/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ RUN apk update && \
ln -sf /usr/bin/pip3 /usr/local/bin/pip && \
ln -sf /usr/bin/python3 /usr/local/bin/python && \
ln -sf /usr/bin/python3 /usr/local/bin/python3 && \
echo "http://dl-8.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
echo "http://dl-3.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
ln -s /usr/include/locale.h /usr/include/xlocale.h && \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
apk update && \
apk add --upgrade && \
apk add --update --no-cache build-base gcc g++ protobuf && \
apk add --allow-untrusted --repository http://dl-3.alpinelinux.org/alpine/edge/testing hdf5 hdf5-dev && \
apk add py3-numpy && \
apk add py-numpy-dev && \
pip3 install --upgrade pip && \
pip3 uninstall -y enum34 && \
pip3 install --no-cache-dir Cython && \
pip3 install --no-cache-dir -r requirements.txt && \
pip3 install --no-cache-dir protobuf==3.11.3 grpcio==${GRPC_PYTHON_VERSION}
Expand Down

0 comments on commit fd239e3

Please sign in to comment.