Use https for libyaml download and remove Alpine package

This commit is contained in:
psvenk 2020-04-19 14:12:44 -04:00
parent 182a6550ff
commit 4d96670cd6
No known key found for this signature in database
GPG Key ID: 6DE9ADBC26172557

View File

@ -1,6 +1,6 @@
FROM alpine:edge AS builder
RUN apk add --no-cache crystal shards libc-dev \
yaml-dev libxml2-dev sqlite-dev zlib-dev openssl-dev \
libxml2-dev sqlite-dev zlib-dev openssl-dev \
sqlite-static zlib-static openssl-libs-static make
WORKDIR /invidious
COPY ./shard.yml ./shard.yml
@ -9,7 +9,7 @@ RUN apk add --no-cache curl && \
curl -Lo /etc/apk/keys/omarroth.rsa.pub https://github.com/omarroth/boringssl-alpine/releases/download/1.1.0-r0/omarroth.rsa.pub && \
curl -Lo boringssl-dev.apk https://github.com/omarroth/boringssl-alpine/releases/download/1.1.0-r0/boringssl-dev-1.1.0-r0.apk && \
curl -Lo lsquic.apk https://github.com/omarroth/lsquic-alpine/releases/download/2.6.3-r0/lsquic-2.6.3-r0.apk && \
curl -Lo yaml.tar.gz http://pyyaml.org/download/libyaml/yaml-0.2.3.tar.gz && \
curl -Lo yaml.tar.gz https://pyyaml.org/download/libyaml/yaml-0.2.3.tar.gz && \
tar -xf boringssl-dev.apk && \
tar -xf lsquic.apk && \
tar -xf yaml.tar.gz && \