aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-05-14 13:00:34 -0500
committerGitHub <noreply@github.com>2022-05-14 13:00:34 -0500
commit9dc20fadd47d868d82ed2e4b248558d3c016b4f6 (patch)
tree34e2ff5b6c902c7c68d81e4aa01ba165b234177d /Dockerfile
parent0241c9fd6917862ae47eb57d7e5ac364989229ff (diff)
parent63f49e40eee9aaf09c7a105937155507ba1761c8 (diff)
downloadslskd-9dc20fadd47d868d82ed2e4b248558d3c016b4f6.tar.gz
Merge pull request #462 from slskd/skip-docker-tests
Skip tests in Docker build
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files 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}