Skip to content

Commit

Permalink
Merge pull request #887 from thaJeztah/23.0_backport_start_testing_fe…
Browse files Browse the repository at this point in the history
…dora38

[23.0 backport] Add Fedora 38 (current stable).
  • Loading branch information
thaJeztah committed Apr 26, 2023
2 parents 98a7297 + 3aa84d4 commit 61fad21
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ def pkgs = [
[target: "debian-buster", image: "debian:buster", arches: ["amd64", "aarch64", "armhf"]], // Debian 10 (EOL: 2024)
[target: "debian-bullseye", image: "debian:bullseye", arches: ["amd64", "aarch64", "armhf"]], // Debian 11 (stable)
[target: "debian-bookworm", image: "debian:bookworm", arches: ["amd64", "aarch64", "armhf"]], // Debian 12 (Next stable)
[target: "fedora-36", image: "fedora:36", arches: ["amd64", "aarch64"]], // EOL: May 24, 2023
[target: "fedora-37", image: "fedora:37", arches: ["amd64", "aarch64"]], // EOL: TBD
[target: "fedora-36", image: "fedora:36", arches: ["amd64", "aarch64"]], // EOL: May 16, 2023
[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: "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)
Expand Down
2 changes: 1 addition & 1 deletion rpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN?=docker run --rm \
$(RUN_FLAGS) \
rpmbuild-$@/$(ARCH) $(RPMBUILD_FLAGS)

FEDORA_RELEASES ?= fedora-37 fedora-36
FEDORA_RELEASES ?= fedora-38 fedora-37 fedora-36
CENTOS_RELEASES ?= centos-7 centos-8 centos-9
ifeq ($(ARCH),s390x)
RHEL_RELEASES ?= rhel-7
Expand Down
23 changes: 23 additions & 0 deletions rpm/fedora-38/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
ARG GO_IMAGE
ARG DISTRO=fedora
ARG SUITE=38
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 SPECS /root/rpmbuild/SPECS
RUN dnf builddep -y /root/rpmbuild/SPECS/*.spec
COPY --from=golang /usr/local/go /usr/local/go
WORKDIR /root/rpmbuild
ENTRYPOINT ["/bin/rpmbuild"]

0 comments on commit 61fad21

Please sign in to comment.