File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
# Fetch or build all required binaries
2
- FROM golang:1.19.9 as builder
2
+ FROM golang:1.23 as builder
3
3
4
4
ARG VERSION_REF
5
5
RUN test -n "${VERSION_REF}"
6
6
7
7
ENV SRC github.com/segmentio/kubeapply
8
8
9
9
RUN apt-get update && apt-get install --yes \
10
- curl \
11
- unzip \
12
- wget
10
+ curl \
11
+ unzip \
12
+ wget
13
13
14
14
COPY . /go/src/${SRC}
15
15
RUN cd /usr/local/bin && /go/src/${SRC}/scripts/pull-deps.sh
@@ -20,21 +20,21 @@ ENV CGO_ENABLED=1
20
20
ENV GO111MODULE=on
21
21
22
22
RUN make kubeapply VERSION_REF=${VERSION_REF} && \
23
- cp build/kubeapply /usr/local/bin
23
+ cp build/kubeapply /usr/local/bin
24
24
25
25
# Copy into final image
26
- FROM ubuntu:20 .04
26
+ FROM ubuntu:24 .04
27
27
28
28
RUN apt-get update && apt-get install --yes \
29
- curl \
30
- git \
31
- python3 \
32
- python3-pip
29
+ curl \
30
+ git \
31
+ python3 \
32
+ python3-pip
33
33
34
34
RUN pip3 install awscli
35
35
36
36
COPY --from=builder \
37
- /usr/local/bin/helm \
38
- /usr/local/bin/kubectl \
39
- /usr/local/bin/kubeapply \
40
- /usr/local/bin/
37
+ /usr/local/bin/helm \
38
+ /usr/local/bin/kubectl \
39
+ /usr/local/bin/kubeapply \
40
+ /usr/local/bin/
Original file line number Diff line number Diff line change 1
1
module github.com/segmentio/kubeapply
2
2
3
- go 1.20
3
+ go 1.23
4
4
5
5
require (
6
6
github.com/Masterminds/semver/v3 v3.1.1
You can’t perform that action at this time.
0 commit comments