Skip to content

Commit

Permalink
Merge pull request #332 from MrAnno/dbld-new-fedora-ubuntu
Browse files Browse the repository at this point in the history
dbld/packages: Ubuntu 24.10 and Fedora 41 support
  • Loading branch information
alltilla authored Oct 11, 2024
2 parents 99f7424 + 2881ae0 commit ccbab69
Show file tree
Hide file tree
Showing 26 changed files with 92 additions and 28 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/create-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ on:
"ubuntu-focal",
"ubuntu-jammy",
"ubuntu-noble",
"ubuntu-oracular",
"ubuntu-lunar",
"ubuntu-mantic",
"almalinux-8",
"almalinux-9",
"fedora-39",
"fedora-40"
"fedora-40",
"fedora-41"
]'


Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dbld-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ jobs:
- almalinux-8
- fedora-39
- fedora-40
- fedora-41
- debian-bullseye
- debian-bookworm
- debian-sid
- debian-testing
- ubuntu-focal
- ubuntu-jammy
- ubuntu-noble
- ubuntu-oracular
- ubuntu-lunar
- ubuntu-mantic
- devshell
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
"almalinux-9",
"debian-bookworm",
"debian-testing",
"fedora-40",
"fedora-41",
"ubuntu-noble"
]'
1 change: 1 addition & 0 deletions .github/workflows/upload-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
"ubuntu-focal",
"ubuntu-jammy",
"ubuntu-noble",
"ubuntu-oracular",
"ubuntu-lunar",
"ubuntu-mantic"
]'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ The following x86-64 distros are supported:
| Debian 11 | debian-bullseye |
| Debian Unstable | debian-sid |
| Debian Testing | debian-testing |
| Ubuntu 24.10 | ubuntu-oracular |
| Ubuntu 24.04 | ubuntu-noble |
| Ubuntu 23.10 | ubuntu-mantic |
| Ubuntu 23.04 | ubuntu-lunar |
Expand Down
2 changes: 2 additions & 0 deletions dbld/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@ EXTRA_DIST += \
dbld/images/devshell.dockerfile \
dbld/images/fedora-39.dockerfile \
dbld/images/fedora-40.dockerfile \
dbld/images/fedora-41.dockerfile \
dbld/images/debian-bullseye.dockerfile \
dbld/images/debian-bookworm.dockerfile \
dbld/images/debian-sid.dockerfile \
dbld/images/debian-testing.dockerfile \
dbld/images/ubuntu-focal.dockerfile \
dbld/images/ubuntu-jammy.dockerfile \
dbld/images/ubuntu-noble.dockerfile \
dbld/images/ubuntu-oracular.dockerfile \
dbld/images/ubuntu-lunar.dockerfile \
dbld/images/ubuntu-mantic.dockerfile \
dbld/images/tarball.dockerfile \
Expand Down
3 changes: 2 additions & 1 deletion dbld/build.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ debian-sid python3,nojava
# libcriterion-dev is available starting with 21.04
ubuntu-focal python3,nocriterion,nomqtt,nogrpc,notzdatalegacy,nobpf
ubuntu-jammy python3,notzdatalegacy,nobpf
ubuntu-noble python3,notzdatalegacy
ubuntu-noble python3
ubuntu-oracular python3
ubuntu-lunar python3
ubuntu-mantic python3

Expand Down
2 changes: 1 addition & 1 deletion dbld/images/almalinux-8.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV OS_DISTRIBUTION_CODE_NAME=8

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

COPY images/entrypoint.sh /
Expand Down
2 changes: 1 addition & 1 deletion dbld/images/almalinux-9.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV OS_DISTRIBUTION_CODE_NAME=9

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

COPY images/entrypoint.sh /
Expand Down
2 changes: 1 addition & 1 deletion dbld/images/centos-7.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV OS_DISTRIBUTION_CODE_NAME=7

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

COPY images/entrypoint.sh /
Expand Down
4 changes: 2 additions & 2 deletions dbld/images/debian-bookworm.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=bookworm

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
4 changes: 2 additions & 2 deletions dbld/images/debian-bullseye.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=bullseye

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
4 changes: 2 additions & 2 deletions dbld/images/debian-sid.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=sid

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
4 changes: 2 additions & 2 deletions dbld/images/debian-testing.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=testing

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
2 changes: 1 addition & 1 deletion dbld/images/devshell.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM $CONTAINER_REGISTRY/axosyslog-dbld-tarball:latest

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}


Expand Down
2 changes: 1 addition & 1 deletion dbld/images/fedora-39.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV OS_DISTRIBUTION_CODE_NAME=39

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

COPY images/entrypoint.sh /
Expand Down
2 changes: 1 addition & 1 deletion dbld/images/fedora-40.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV OS_DISTRIBUTION_CODE_NAME=40

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

COPY images/entrypoint.sh /
Expand Down
27 changes: 27 additions & 0 deletions dbld/images/fedora-41.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM fedora:41
LABEL maintainer="László Várady <[email protected]>, Balazs Scheidler <[email protected]>"
ENV OS_DISTRIBUTION=fedora
ENV OS_DISTRIBUTION_CODE_NAME=41

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

COPY images/entrypoint.sh /
COPY . /dbld/

RUN /dbld/builddeps update_packages
RUN /dbld/builddeps workaround_rpm_repos
RUN /dbld/builddeps install_dbld_dependencies
RUN /dbld/builddeps add_copr_repo
RUN /dbld/builddeps install_yum_packages
RUN /dbld/builddeps install_rpm_build_deps

RUN /dbld/builddeps install_criterion
RUN /dbld/builddeps install_gradle

VOLUME /source
VOLUME /build

ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion dbld/images/tarball.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM $CONTAINER_REGISTRY/axosyslog-dbld-debian-testing:latest

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

RUN /dbld/builddeps install_apt_packages
4 changes: 2 additions & 2 deletions dbld/images/ubuntu-focal.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=focal

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
4 changes: 2 additions & 2 deletions dbld/images/ubuntu-jammy.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=jammy

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
4 changes: 2 additions & 2 deletions dbld/images/ubuntu-lunar.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=lunar

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
4 changes: 2 additions & 2 deletions dbld/images/ubuntu-mantic.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=mantic

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
4 changes: 2 additions & 2 deletions dbld/images/ubuntu-noble.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ENV OS_DISTRIBUTION_CODE_NAME=noble

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM ${ARG_IMAGE_PLATFORM}
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG C.UTF-8
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/
Expand Down
26 changes: 26 additions & 0 deletions dbld/images/ubuntu-oracular.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM ubuntu:oracular
LABEL maintainer="Laszlo Varady <[email protected]>"
ENV OS_DISTRIBUTION=ubuntu
ENV OS_DISTRIBUTION_CODE_NAME=oracular

ARG ARG_IMAGE_PLATFORM
ARG COMMIT
ENV IMAGE_PLATFORM=${ARG_IMAGE_PLATFORM}
LABEL COMMIT=${COMMIT}

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV LANG=C.UTF-8

COPY images/entrypoint.sh /
COPY . /dbld/

RUN /dbld/builddeps update_packages
RUN /dbld/builddeps install_dbld_dependencies
RUN /dbld/builddeps install_apt_packages
RUN /dbld/builddeps install_debian_build_deps

VOLUME /source
VOLUME /build

ENTRYPOINT ["/entrypoint.sh"]
2 changes: 2 additions & 0 deletions dbld/rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ BUILDER_IMAGES= \
almalinux-9 \
fedora-39 \
fedora-40 \
fedora-41 \
debian-stretch \
debian-bullseye \
debian-bookworm \
Expand All @@ -13,6 +14,7 @@ BUILDER_IMAGES= \
ubuntu-focal \
ubuntu-jammy \
ubuntu-noble \
ubuntu-oracular \
ubuntu-lunar \
ubuntu-mantic \
tarball
Expand Down

0 comments on commit ccbab69

Please sign in to comment.