Skip to content

Commit

Permalink
remove allocator tag
Browse files Browse the repository at this point in the history
  • Loading branch information
iurii-ssv committed Oct 29, 2024
1 parent 61508f1 commit 27405c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,13 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
COMMIT=$(git rev-parse HEAD) && \
VERSION=$(git describe --tags $(git rev-list --tags --max-count=1) --always) && \
CGO_ENABLED=1 GOOS=linux go install \
-tags="blst_enabled,jemalloc,allocator" \
-tags="blst_enabled,jemalloc" \
-ldflags "-X main.Commit=$COMMIT -X main.Version=$VERSION -linkmode external -extldflags \"-static -lm\"" \
./cmd/ssvnode

#
# STEP 3: Prepare image to run the binary
#
# IMPORTANT: before upgrading to go 1.23 or higher make sure the following issue has been resolved:
# https://github.com/golang/go/issues/69978
FROM golang:1.22 AS runner

RUN apt-get update && \
Expand Down

0 comments on commit 27405c8

Please sign in to comment.