From 63f49e40eee9aaf09c7a105937155507ba1761c8 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 14 May 2022 12:52:34 -0500 Subject: skip tests in Docker build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1b2a921..b3b375ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /slskd COPY bin bin/. COPY src/web src/web/. -RUN sh ./bin/build --web-only --version $VERSION +RUN sh ./bin/build --web-only --skip-tests --version $VERSION # build, test, and publish application binaries # note: this needs to be pinned to an amd64 image in order to publish armv7 binaries @@ -26,7 +26,7 @@ COPY tests tests/. COPY --from=web /slskd/src/web/build /slskd/src/slskd/wwwroot/. -RUN bash ./bin/build --dotnet-only --version $VERSION +#RUN bash ./bin/build --dotnet-only --version $VERSION RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSION --output ../../dist/${TARGETPLATFORM} -- cgit v1.2.3