diff --git a/node/cmd/Dockerfile b/node/cmd/Dockerfile index e47e1a8035..60777cb9ac 100644 --- a/node/cmd/Dockerfile +++ b/node/cmd/Dockerfile @@ -1,8 +1,8 @@ FROM golang:1.21.1-alpine3.18 as builder -ARG SEMVER -ARG GITCOMMIT -ARG GITDATE +ARG SEMVER="" +ARG GITCOMMIT="" +ARG GITDATE="" RUN apk add --no-cache make musl-dev linux-headers gcc git jq bash @@ -20,7 +20,7 @@ COPY go.sum /app WORKDIR /app/node -RUN go build -ldflags="-X 'node.SemVer=${SEMVER}' -X 'node.GitCommit=${GITCOMMIT}' -X 'node.GitDate=${GITDATE}'" -o ./bin/node ./cmd +RUN go build -ldflags="-X 'github.com/Layr-Labs/eigenda/node.SemVer=${SEMVER}' -X 'github.com/Layr-Labs/eigenda/node.GitCommit=${GITCOMMIT}' -X 'github.com/Layr-Labs/eigenda/node.GitDate=${GITDATE}'" -o ./bin/node ./cmd FROM alpine:3.18