Use mainline Alpine instead of edge

Since the time of authoring this PR, Alpine has since gained numpy
support. This commit updates the Dockerfile to use mainline Alpine and
use `apk`'s py-numpy package.
This commit is contained in:
Brooks Swinnerton 2019-09-02 11:50:53 -04:00
parent 4fe24f6bed
commit 4811cbce01
No known key found for this signature in database
GPG Key ID: 72743B7DE552E25A
1 changed files with 2 additions and 6 deletions

View File

@ -1,11 +1,7 @@
# This provides a minimal websockify Docker image. The image is based on Alpine
# edge to be able to benefit from the numpy package that is currently in
# testing. This ought to change as soon as numpy has qualified out of testing.
FROM alpine:edge
FROM alpine
MAINTAINER Emmanuel Frecon <efrecon@gmail.com>
RUN apk add --update-cache python && \
apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted py-numpy && \
RUN apk add --update-cache python py-numpy && \
rm -rf /var/cache/apk/*
COPY run /opt/websockify/