Skip to content

Commit

Permalink
release: Install curl
Browse files Browse the repository at this point in the history
Install curl in the release make target so that CILIUM_VERSION gets set
properly.

Fixes: #2795
Fixes: #2802

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
  • Loading branch information
michi-covalent committed Sep 19, 2024
1 parent d6a3784 commit a956dbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

FROM docker.io/library/golang:1.23.1-alpine3.19@sha256:e0ea2a119ae0939a6d449ea18b2b1ba30b44986ec48dbb88f3a93371b4bf8750 AS builder
WORKDIR /go/src/github.com/cilium/cilium-cli
RUN apk add --no-cache git make ca-certificates
RUN apk add --no-cache curl git make ca-certificates
COPY . .
RUN make

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ release:
--rm \
--workdir /cilium \
--volume `pwd`:/cilium docker.io/library/golang:$(GO_IMAGE_VERSION)@$(GO_IMAGE_SHA) \
sh -c "apk add --no-cache setpriv make git zip && \
sh -c "apk add --no-cache curl setpriv make git zip && \
/usr/bin/setpriv --reuid=$(RELEASE_UID) --regid=$(RELEASE_GID) --clear-groups make GOCACHE=/tmp/gocache local-release"

local-release: clean
Expand Down

0 comments on commit a956dbc

Please sign in to comment.