From 6215a2c69a8e9b351098ccaa093c7b1b255c149a Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Mon, 4 Aug 2025 11:36:11 +0200 Subject: [PATCH] fix: remove NODE_OPTIONS openssl workaround --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1490017..d3753f6 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,6 @@ DOCKER_WORKDIR=/proj DOCKER_RUN=docker run --rm -e LD_FLAGS="$$LD_FLAGS" -v "$$PWD/.:${DOCKER_WORKDIR}" -v "`go env GOPATH`/pkg/mod/.:/go/pkg/mod:ro" -w ${DOCKER_WORKDIR} DOCKER_GO_BUILD=go build -mod=readonly -a -installsuffix cgo -ldflags "$$LD_FLAGS" DOCKER_TEST_LEVEL ?= 0 # Optionally run a test during docker build -NODE_OPTIONS=$(shell if node --help | grep -q -- "--openssl-legacy-provider"; then echo --openssl-legacy-provider; fi) test: test-coverage test-js check: check-go check-swagger check-js @@ -116,7 +115,7 @@ _build_within_docker: ${DOCKER_GO_BUILD} -o ${OUTPUT} build-js: - (cd ui && NODE_OPTIONS="${NODE_OPTIONS}" yarn build) + (cd ui && yarn build) build-linux-amd64: ${DOCKER_RUN} ${DOCKER_BUILD_IMAGE}:$(GO_VERSION)-linux-amd64 make _build_within_docker OUTPUT=${BUILD_DIR}/gotify-linux-amd64