From d6e65f7c624fd2e45833f77b5a344fa051e7212c Mon Sep 17 00:00:00 2001 From: Evan Krall Date: Fri, 18 Nov 2022 03:06:59 +0000 Subject: [PATCH] Run shards update before running shards install, to fix build error. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 3da5a269..858d4eb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ RUN apk update && apk upgrade && apk add sqlite-static WORKDIR /build/ ARG version RUN git clone --branch ${version:-dist} --depth 1 https://github.com/toddsundsted/ktistec . +RUN shards update RUN shards install --production RUN crystal build src/ktistec/server.cr --static --no-debug --release