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:
parent
4fe24f6bed
commit
4811cbce01
|
|
@ -1,11 +1,7 @@
|
||||||
# This provides a minimal websockify Docker image. The image is based on Alpine
|
FROM 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
|
|
||||||
MAINTAINER Emmanuel Frecon <efrecon@gmail.com>
|
MAINTAINER Emmanuel Frecon <efrecon@gmail.com>
|
||||||
|
|
||||||
RUN apk add --update-cache python && \
|
RUN apk add --update-cache python py-numpy && \
|
||||||
apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted py-numpy && \
|
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY run /opt/websockify/
|
COPY run /opt/websockify/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue