mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-06 04:38:31 +00:00
Remove workaround for fixed bug
This commit is contained in:
parent
4b51383ae9
commit
73277a17ba
@ -1,8 +1,8 @@
|
|||||||
FROM alpine:edge AS builder
|
FROM alpine:edge AS builder
|
||||||
WORKDIR /invidious
|
|
||||||
RUN apk add --no-cache curl crystal shards libc-dev \
|
RUN apk add --no-cache curl crystal shards libc-dev \
|
||||||
yaml-dev libxml2-dev sqlite-dev zlib-dev openssl-dev \
|
yaml-dev libxml2-dev sqlite-dev zlib-dev openssl-dev \
|
||||||
yaml-static sqlite-static zlib-static openssl-libs-static
|
yaml-static sqlite-static zlib-static openssl-libs-static
|
||||||
|
WORKDIR /invidious
|
||||||
COPY ./shard.yml ./shard.yml
|
COPY ./shard.yml ./shard.yml
|
||||||
RUN shards update && shards install && \
|
RUN shards update && shards install && \
|
||||||
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 /etc/apk/keys/omarroth.rsa.pub https://github.com/omarroth/boringssl-alpine/releases/download/1.1.0-r0/omarroth.rsa.pub && \
|
||||||
@ -19,8 +19,6 @@ COPY ./src/ ./src/
|
|||||||
COPY ./.git/ ./.git/
|
COPY ./.git/ ./.git/
|
||||||
RUN crystal build ./src/invidious.cr \
|
RUN crystal build ./src/invidious.cr \
|
||||||
--static --warnings all --error-on-warnings \
|
--static --warnings all --error-on-warnings \
|
||||||
# TODO: Remove next line, see https://github.com/crystal-lang/crystal/issues/7946
|
|
||||||
-Dmusl \
|
|
||||||
--link-flags "-lxml2 -llzma"
|
--link-flags "-lxml2 -llzma"
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user