Skip to content

Commit

Permalink
Bump golang/alpine versions
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Sep 30, 2024
1 parent 1f36841 commit c106b0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM golang:1.21-alpine3.18 AS infra
FROM golang:1.22-alpine3.20 AS infra
ARG ARCH=amd64

RUN apk -U add bash coreutils git gcc musl-dev vim less curl wget ca-certificates
Expand Down Expand Up @@ -43,4 +43,4 @@ RUN --mount=type=cache,id=gomod,target=/go/pkg/mod \

FROM scratch as binary
ENV SRC_DIR=/go/src/github.com/k3s-io/kine
COPY --from=build ${SRC_DIR}/bin /bin
COPY --from=build ${SRC_DIR}/bin /bin
8 changes: 4 additions & 4 deletions Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM golang:1.21-alpine3.17
FROM golang:1.22-alpine3.20

ARG ARCH=amd64

RUN apk -U add bash ca-certificates coreutils curl docker-cli file findutils gcc git less musl-dev vim wget
RUN apk -U add py3-pip && pip install kubernetes termplotlib==v0.3.4
RUN apk -U add bash coreutils git gcc musl-dev vim less curl wget ca-certificates
RUN apk -U add docker-cli file findutils py3-pip && \
pip install --break-system-packages kubernetes termplotlib==v0.3.4

ENV KINE_SOURCE /go/src/github.com/k3s-io/kine/
ENV HOME ${KINE_SOURCE}
WORKDIR ${KINE_SOURCE}


COPY . ${KINE_SOURCE}

ENTRYPOINT ["/bin/bash", "-c"]
Expand Down

0 comments on commit c106b0d

Please sign in to comment.