From 3e665cad0efb4e316267184e8bf26780bad81dc6 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Wed, 18 Oct 2023 08:03:45 -0500 Subject: [PATCH] Fix Dockerfile when no Package.resolved is present Fixes #110 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1b9a765..fb7cd16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ WORKDIR /build # files do not change. COPY ./Package.* ./ RUN swift package resolve --skip-update \ - "$([ -f ./Package.resolved ] && echo "--force-resolved-versions" || true)" + $([ -f ./Package.resolved ] && echo "--force-resolved-versions" || true) # Copy entire repo into container COPY . .