From 4811cbce014d3c7823127962d8ec0bf98ffb4380 Mon Sep 17 00:00:00 2001 From: Brooks Swinnerton Date: Mon, 2 Sep 2019 11:50:53 -0400 Subject: [PATCH] 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. --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4fccb87..2ceab8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -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/