diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 7e94b85d..6ae79b55 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -1,4 +1,4 @@ -FROM registry.suse.com/bci/golang:1.22 +FROM registry.suse.com/bci/golang:1.23 ARG DAPPER_HOST_ARCH ENV ARCH=${DAPPER_HOST_ARCH} @@ -9,7 +9,7 @@ ENV DAPPER_SOURCE /cli ENV DAPPER_OUTPUT ./bin ./docs coverage.out ENV DAPPER_DOCKER_SOCKET true -ENV GOLANGCI_LINT_VERSION="v1.55.2" +ENV GOLANGCI_LINT_VERSION="v1.60.3" WORKDIR ${DAPPER_SOURCE} ENTRYPOINT ["./dapper/entry"] @@ -20,6 +20,7 @@ RUN zypper -n install curl awk docker && \ RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION} + # Docker Buildx: The docker version in dapper is too old to have buildx. Install it manually. RUN curl -sSfLO https://github.com/docker/buildx/releases/download/v0.13.1/buildx-v0.13.1.linux-${ARCH} && \ chmod +x buildx-v0.13.1.linux-${ARCH} && \ diff --git a/package/Dockerfile b/package/Dockerfile index d80ac8e0..d2a0c98a 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -1,6 +1,6 @@ -# syntax=docker/dockerfile:1.9.0 +# syntax=docker/dockerfile:1.10.0 -FROM registry.suse.com/bci/golang:1.22 AS builder +FROM registry.suse.com/bci/golang:1.23 AS builder ARG ARCH=amd64