From 0beb2974cb681560bad355fd9bb0bc85d3bf747b Mon Sep 17 00:00:00 2001 From: Siddharth More Date: Wed, 24 Apr 2024 19:08:50 -0700 Subject: [PATCH 1/2] fix package path --- node/cmd/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/node/cmd/Dockerfile b/node/cmd/Dockerfile index e47e1a8035..5dceb5c2a0 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="v0.x.y.z" +ARG GITCOMMIT="da48cbe1fd7ae96fe1f8fb2cce4f939459d97565" +ARG GITDATE="2024-04-24T00:00:00Z" 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 From 6962279057a0110a2f70a0b6db5b39b860544b14 Mon Sep 17 00:00:00 2001 From: Siddharth More Date: Wed, 24 Apr 2024 20:03:38 -0700 Subject: [PATCH 2/2] fix pr comment --- node/cmd/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/cmd/Dockerfile b/node/cmd/Dockerfile index 5dceb5c2a0..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="v0.x.y.z" -ARG GITCOMMIT="da48cbe1fd7ae96fe1f8fb2cce4f939459d97565" -ARG GITDATE="2024-04-24T00:00:00Z" +ARG SEMVER="" +ARG GITCOMMIT="" +ARG GITDATE="" RUN apk add --no-cache make musl-dev linux-headers gcc git jq bash