diff --git a/Jenkinsfile b/Jenkinsfile index 5918ccfc91..585aaa0a4e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,6 +11,7 @@ def pkgs = [ [target: "debian-bookworm", image: "debian:bookworm", arches: ["amd64", "aarch64", "armhf"]], // Debian 12 (Next stable) [target: "fedora-37", image: "fedora:37", arches: ["amd64", "aarch64"]], // EOL: November 14, 2023 [target: "fedora-38", image: "fedora:38", arches: ["amd64", "aarch64"]], // EOL: May 14, 2024 + [target: "fedora-39", image: "fedora:39", arches: ["amd64", "aarch64"]], // EOL: November 12, 2024 [target: "raspbian-buster", image: "balenalib/rpi-raspbian:buster", arches: ["armhf"]], // Debian/Raspbian 10 (EOL: 2024) [target: "raspbian-bullseye", image: "balenalib/rpi-raspbian:bullseye", arches: ["armhf"]], // Debian/Raspbian 11 (stable) [target: "raspbian-bookworm", image: "balenalib/rpi-raspbian:bookworm", arches: ["armhf"]], // Debian/Raspbian 12 (next stable) diff --git a/rpm/Makefile b/rpm/Makefile index 5e2a45ef17..cdd72c2f6f 100644 --- a/rpm/Makefile +++ b/rpm/Makefile @@ -49,7 +49,7 @@ RUN?=docker run --rm \ $(RUN_FLAGS) \ rpmbuild-$@/$(ARCH) $(RPMBUILD_FLAGS) -FEDORA_RELEASES ?= fedora-38 fedora-37 +FEDORA_RELEASES ?= fedora-39 fedora-38 fedora-37 CENTOS_RELEASES ?= centos-7 centos-8 centos-9 ifeq ($(ARCH),s390x) RHEL_RELEASES ?= rhel-7 diff --git a/rpm/fedora-39/Dockerfile b/rpm/fedora-39/Dockerfile new file mode 100644 index 0000000000..f7dd4e956e --- /dev/null +++ b/rpm/fedora-39/Dockerfile @@ -0,0 +1,25 @@ +# syntax=docker/dockerfile:1 + +ARG GO_IMAGE +ARG DISTRO=fedora +ARG SUITE=39 +ARG BUILD_IMAGE=${DISTRO}:${SUITE} + +FROM ${GO_IMAGE} AS golang + +FROM ${BUILD_IMAGE} +ENV GOPROXY=https://proxy.golang.org|direct +ENV GO111MODULE=off +ENV GOPATH /go +ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin +ENV AUTO_GOPATH 1 +ARG DISTRO +ARG SUITE +ENV DISTRO=${DISTRO} +ENV SUITE=${SUITE} +RUN dnf install -y rpm-build rpmlint dnf-plugins-core +COPY --link SPECS /root/rpmbuild/SPECS +RUN dnf builddep -y /root/rpmbuild/SPECS/*.spec +COPY --link --from=golang /usr/local/go /usr/local/go +WORKDIR /root/rpmbuild +ENTRYPOINT ["/bin/rpmbuild"]