Skip to content

Commit

Permalink
Add Ninja build system to builder images. (#233)
Browse files Browse the repository at this point in the history
* Add Ninja build system to builder images.

This will be used by the new CMake build infrastructure to make builds
_much_ faster, thus making CI much faster.

* Clean up OL8 repo handling.

* Fix AL2023 package builder.
  • Loading branch information
Ferroin authored Sep 19, 2023
1 parent 4b44b10 commit 8ddec94
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 9 deletions.
2 changes: 2 additions & 0 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ RUN apk --no-cache add alpine-sdk \
libuv-dev \
lm_sensors \
lz4-dev \
make \
mariadb-dev \
mongo-c-driver-dev \
musl-dev \
musl-fts-dev \
ninja \
netcat-openbsd \
openssl-dev \
pkgconfig \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.amazonlinux2
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ RUN yum update -y && \
lm_sensors \
lz4-devel \
make \
ninja \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.amazonlinux2023
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ RUN dnf distro-sync -y --nodocs && \
lm_sensors \
lz4-devel \
make \
ninja-build \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.centos-stream8
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ RUN dnf distro-sync -y --nodocs && \
lm_sensors \
lz4-devel \
make \
ninja-build \
nc \
openssl-devel \
openssl-perl \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.centos-stream9
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN dnf distro-sync -y --nodocs && \
lm_sensors \
lz4-devel \
make \
ninja-build \
nc \
openssl-devel \
openssl-perl \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ RUN yum install -y epel-release && \
lm_sensors \
lz4-devel \
make \
ninja \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.debian10
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RUN apt-get update && \
libtool \
libuv1-dev \
make \
ninja-build \
pkg-config \
protobuf-compiler \
systemd \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.debian11
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ RUN apt-get update && \
libtool \
libuv1-dev \
make \
ninja-build \
pkg-config \
protobuf-compiler \
systemd \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.debian12
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ RUN apt-get update && \
libtool \
libuv1-dev \
make \
ninja-build \
pkg-config \
protobuf-compiler \
systemd \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.fedora37
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN dnf distro-sync -y --nodocs && \
libuv-devel \
lz4-devel \
make \
ninja-build \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.fedora38
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN dnf distro-sync -y --nodocs && \
libuv-devel \
lz4-devel \
make \
ninja-build \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.opensuse15.4
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RUN zypper update -y && \
libuv-devel \
libuuid-devel \
make \
ninja \
patch \
pkg-config \
protobuf-devel \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.opensuse15.5
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RUN zypper update -y && \
libuv-devel \
libuuid-devel \
make \
ninja \
patch \
pkg-config \
protobuf-devel \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.opensusetumbleweed
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ RUN zypper update -y && \
libuv-devel \
libuuid-devel \
make \
ninja \
patch \
pkg-config \
protobuf-c \
Expand Down
6 changes: 3 additions & 3 deletions package-builders/Dockerfile.oraclelinux8
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ LABEL org.opencontainers.image.vendor="Netdata Inc."

ENV VERSION=$VERSION

COPY package-builders/oraclelinux8-codeready.repo /etc/yum.repos.d/codeready_builder.repo

RUN dnf distro-sync -y --nodocs && \
RUN dnf config-manager --set-enabled ol8_codeready_builder && \
dnf distro-sync -y --nodocs && \
dnf clean packages && \
dnf install -y --nodocs --setopt=install_weak_deps=False --setopt=diskspacecheck=False \
autoconf \
Expand Down Expand Up @@ -43,6 +42,7 @@ RUN dnf distro-sync -y --nodocs && \
lz4-devel \
make \
nc \
ninja-build \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.oraclelinux9
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN dnf config-manager --set-enabled ol9_codeready_builder && \
lz4-devel \
make \
nc \
ninja-build \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.rockylinux8
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ RUN dnf distro-sync -y --nodocs && \
lz4-devel \
make \
nc \
ninja-build \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.rockylinux9
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ RUN dnf distro-sync -y --nodocs && \
lz4-devel \
make \
nc \
ninja-build \
openssl-devel \
openssl-perl \
patch \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.ubuntu20.04
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RUN apt-get update && \
libtool \
libuv1-dev \
make \
ninja-build \
pkg-config \
protobuf-compiler \
systemd \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.ubuntu22.04
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ RUN apt-get update && \
libtool \
libuv1-dev \
make \
ninja-build \
pkg-config \
protobuf-compiler \
systemd \
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.ubuntu23.04
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ RUN apt-get update && \
libtool \
libuv1-dev \
make \
ninja-build \
pkg-config \
protobuf-compiler \
systemd \
Expand Down
6 changes: 0 additions & 6 deletions package-builders/oraclelinux8-codeready.repo

This file was deleted.

1 change: 1 addition & 0 deletions static-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ RUN apk add --no-cache \
musl-fts-dev \
ncurses \
netcat-openbsd \
ninja \
openssh \
pkgconfig \
protobuf-dev \
Expand Down

0 comments on commit 8ddec94

Please sign in to comment.