diff --git a/.releaserc b/.releaserc index 2b5da4df14..beb9e4970a 100644 --- a/.releaserc +++ b/.releaserc @@ -2,14 +2,9 @@ "prepare": [ "@semantic-release/npm", { - "//": "build alpine binary inside an alpine container, or else the binary is broken", + "//": "build the alpine, macos, linux and windows binaries", "path": "@semantic-release/exec", - "cmd": "docker run --rm -i -v `pwd`:/snyk node:alpine sh /snyk/scripts/alpine-build.sh" - }, - { - "//": "build the regular macos, linux and windows binaries", - "path": "@semantic-release/exec", - "cmd": "npm i -g pkg && pkg . -t node8-linux-x64,node8-macos-x64,node8-win-x64" + "cmd": "npm i -g pkg && pkg . -t node8-alpine-x64,node8-linux-x64,node8-macos-x64,node8-win-x64" }, { "//": "shasum all binaries", diff --git a/scripts/alpine-build.sh b/scripts/alpine-build.sh deleted file mode 100644 index 6fa993708c..0000000000 --- a/scripts/alpine-build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -echo "Building an alpine standalone binary..." -cd snyk -# install pkg globally so that the local deps do not get polluted with it -# prevents non-deterministic tests, as they depend on the deps being used -npm i -g pkg -pkg . -t node8-alpine-x64 -o snyk-alpine -echo "Done building an alpine standalone binary!"