Skip to content

Commit da1f427

Browse files
tac0turtleclaude
andcommitted
fix: remove make dependency from Dockerfiles
Inline go build/install commands directly instead of depending on make/just inside the container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9755352 commit da1f427

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

apps/grpc/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM golang:1.25-alpine AS builder
33

44
#hadolint ignore=DL3018
5-
RUN apk add --no-cache git make gcc musl-dev linux-headers
5+
RUN apk add --no-cache git gcc musl-dev linux-headers
66

77
# Set working directory
88
WORKDIR /ev-node

apps/testapp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ WORKDIR /ev-node
2121
COPY . .
2222

2323
# Now download dependencies and build
24-
RUN go mod download && make install
24+
RUN go mod download && cd apps/testapp && go install .
2525

2626
## prep the final image.
2727
#

tools/local-da/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@ FROM golang:1.25-alpine AS build-env
33
WORKDIR /src
44

55
#hadolint ignore=DL3018
6-
RUN apk add --no-cache make
7-
86
COPY core core
97

108
COPY go.mod go.sum ./
119
RUN go mod download
1210

1311
COPY . .
1412

15-
RUN make build-da
13+
RUN mkdir -p build && cd tools/local-da && go build -o /src/build/local-da .
1614

1715
FROM alpine:3.22.2
1816

0 commit comments

Comments
 (0)