Skip to content

Commit

Permalink
add make to alpine image for vali build
Browse files Browse the repository at this point in the history
  • Loading branch information
ntap-jbolle committed Jan 4, 2024
1 parent 0eb4ee1 commit b9375d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/vali/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM golang:1.21.5-alpine3.19 as build
ARG TOUCH_PROTOS
COPY . /src/vali
WORKDIR /src/vali
RUN apk add --no-cache make
RUN make clean && (if [ "${TOUCH_PROTOS}" ]; then make touch-protos; fi) && make BUILD_IN_CONTAINER=false vali

FROM alpine:3.19
Expand Down
1 change: 1 addition & 0 deletions cmd/vali/Dockerfile.cross
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FROM --platform=linux/amd64 $BUILD_IMAGE as build
COPY --from=goenv /goarch /goarm /
COPY . /src/vali
WORKDIR /src/vali
RUN apk add --no-cache make
RUN make clean && GOARCH=$(cat /goarch) GOARM=$(cat /goarm) make BUILD_IN_CONTAINER=false vali

FROM alpine:3.19
Expand Down
1 change: 1 addition & 0 deletions cmd/vali/Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ FROM ghcr.io/credativ/vali-build-image as build
ARG GOARCH="amd64"
COPY . /src/vali
WORKDIR /src/vali
RUN apk add --no-cache make
RUN make clean && make BUILD_IN_CONTAINER=false vali-debug

FROM alpine:3.19
Expand Down

0 comments on commit b9375d9

Please sign in to comment.