Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/topic/timw/ci-compiler-updates'
Browse files Browse the repository at this point in the history
* origin/topic/timw/ci-compiler-updates:
  CI: Add '=' to ENV commands to silence 'docker build' warnings
  CI: Add python3-distuils to ubuntu 20 image
  CI: Require newer gcc and python on opensuse-leap builds
  • Loading branch information
timwoj committed Dec 13, 2024
2 parents 5d32d63 + c7ab658 commit 5847b2a
Show file tree
Hide file tree
Showing 18 changed files with 46 additions and 25 deletions.
8 changes: 8 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2.8.0-dev.169 | 2024-12-13 12:02:08 -0700

* CI: Add '=' to ENV commands to silence 'docker build' warnings (Tim Wojtulewicz, Corelight)

* CI: Add python3-distuils to ubuntu 20 image (Tim Wojtulewicz)

* CI: Require newer gcc and python on opensuse-leap builds (Tim Wojtulewicz, Corelight)

2.8.0-dev.163 | 2024-12-10 17:27:21 -0700

* Fix ruff F findings (Tim Wojtulewicz, Corelight)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.0-dev.163
2.8.0-dev.169
2 changes: 1 addition & 1 deletion ci/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:latest

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230823
ENV DOCKERFILE_VERSION=20230823

RUN apk add --no-cache \
bash \
Expand Down
2 changes: 1 addition & 1 deletion ci/centos-stream-9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM quay.io/centos/centos:stream9

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
ENV DOCKERFILE_VERSION=20220519

RUN dnf -y install \
cmake \
Expand Down
2 changes: 1 addition & 1 deletion ci/debian-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230813
ENV DOCKERFILE_VERSION=20230813

RUN apt-get update && apt-get -y install \
cmake \
Expand Down
2 changes: 1 addition & 1 deletion ci/debian-12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230612
ENV DOCKERFILE_VERSION=20230612

RUN apt-get update && apt-get -y install \
clang \
Expand Down
2 changes: 1 addition & 1 deletion ci/fedora-35/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM fedora:35

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
ENV DOCKERFILE_VERSION=20220519

RUN dnf -y install \
cmake \
Expand Down
2 changes: 1 addition & 1 deletion ci/fedora-40/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM fedora:40

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20241106
ENV DOCKERFILE_VERSION=20241106

RUN dnf -y install \
cmake \
Expand Down
2 changes: 1 addition & 1 deletion ci/fedora-41/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM fedora:41

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20241204
ENV DOCKERFILE_VERSION=20241204

RUN dnf -y install \
cmake \
Expand Down
16 changes: 11 additions & 5 deletions ci/opensuse-leap-15.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ FROM opensuse/leap:15.5

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230612
ENV DOCKERFILE_VERSION=20230612

RUN zypper in -y \
cmake \
gcc \
gcc-c++ \
gcc12 \
gcc12-c++ \
git \
libopenssl-devel \
make \
python3 \
python3-devel \
python311 \
python311-devel \
&& rm -rf /var/cache/zypp

RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 100
RUN update-alternatives --install /usr/bin/python3-config python3-config /usr/bin/python3.11-config 100

RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-12 100
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-12 100
16 changes: 11 additions & 5 deletions ci/opensuse-leap-15.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ FROM opensuse/leap:15.6

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20240524
ENV DOCKERFILE_VERSION=20240524

RUN zypper in -y \
cmake \
gcc \
gcc-c++ \
gcc12 \
gcc12-c++ \
git \
libopenssl-devel \
make \
python3 \
python3-devel \
python312 \
python312-devel \
&& rm -rf /var/cache/zypp

RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 100
RUN update-alternatives --install /usr/bin/python3-config python3-config /usr/bin/python3.12-config 100

RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-12 100
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-12 100
2 changes: 1 addition & 1 deletion ci/opensuse-tumbleweed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM opensuse/tumbleweed

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230329
ENV DOCKERFILE_VERSION=20230329

RUN zypper in -y \
cmake \
Expand Down
2 changes: 1 addition & 1 deletion ci/ubuntu-18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
ENV DOCKERFILE_VERSION=20220519

ENV CMAKE_DIR "/opt/cmake"
ENV CMAKE_VERSION "3.19.1"
Expand Down
3 changes: 2 additions & 1 deletion ci/ubuntu-20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
ENV DOCKERFILE_VERSION=20220519

RUN apt-get update && apt-get -y install \
cmake \
Expand All @@ -14,5 +14,6 @@ RUN apt-get update && apt-get -y install \
make \
python3.9 \
python3.9-dev \
python3-distutils \
&& apt autoclean \
&& rm -rf /var/lib/apt/lists/*
2 changes: 1 addition & 1 deletion ci/ubuntu-22.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230813
ENV DOCKERFILE_VERSION=20230813

RUN apt-get update && apt-get -y install \
cmake \
Expand Down
2 changes: 1 addition & 1 deletion ci/ubuntu-24.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20240510
ENV DOCKERFILE_VERSION=20240510

RUN apt-get update && apt-get -y install \
cmake \
Expand Down
2 changes: 1 addition & 1 deletion ci/ubuntu-24.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20241204
ENV DOCKERFILE_VERSION=20241204

RUN apt-get update && apt-get -y install \
cmake \
Expand Down
2 changes: 1 addition & 1 deletion ci/windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230728
ENV DOCKERFILE_VERSION=20230728

SHELL [ "powershell" ]

Expand Down

0 comments on commit 5847b2a

Please sign in to comment.