Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump golang/alpine versions #332

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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