From 73277a17ba478742ebd6ee42dbd88ca595c728d1 Mon Sep 17 00:00:00 2001 From: tleydxdy Date: Thu, 23 Apr 2020 22:11:27 -0400 Subject: [PATCH] Remove workaround for fixed bug --- docker/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 75654cb5..5ae376fb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,8 +1,8 @@ FROM alpine:edge AS builder -WORKDIR /invidious RUN apk add --no-cache curl crystal shards libc-dev \ yaml-dev libxml2-dev sqlite-dev zlib-dev openssl-dev \ yaml-static sqlite-static zlib-static openssl-libs-static +WORKDIR /invidious COPY ./shard.yml ./shard.yml 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 && \ @@ -19,8 +19,6 @@ COPY ./src/ ./src/ COPY ./.git/ ./.git/ RUN crystal build ./src/invidious.cr \ --static --warnings all --error-on-warnings \ -# TODO: Remove next line, see https://github.com/crystal-lang/crystal/issues/7946 - -Dmusl \ --link-flags "-lxml2 -llzma" FROM alpine:latest