Merge remote-tracking branch 'origin/topic/timw/dockerfile-versions'

* origin/topic/timw/dockerfile-versions:
  Add DOCKERFILE_VERSION variable to all CI dockerfiles
This commit is contained in:
Tim Wojtulewicz 2022-05-23 17:47:08 -07:00
commit a61bc16b10
17 changed files with 59 additions and 3 deletions

View file

@ -1,3 +1,7 @@
5.0.0-dev.466 | 2022-05-23 17:47:08 -0700
* Add DOCKERFILE_VERSION variable to all CI dockerfiles (Tim Wojtulewicz, Corelight)
5.0.0-dev.462 | 2022-05-19 11:45:38 -0700 5.0.0-dev.462 | 2022-05-19 11:45:38 -0700
* speed up ZAM compilation by capping function size when inlining (Vern Paxson, Corelight) * speed up ZAM compilation by capping function size when inlining (Vern Paxson, Corelight)

View file

@ -1 +1 @@
5.0.0-dev.462 5.0.0-dev.466

View file

@ -1,5 +1,9 @@
FROM alpine:latest FROM alpine:latest
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN apk add --no-cache \ RUN apk add --no-cache \
ccache \ ccache \
cmake \ cmake \

View file

@ -1,5 +1,9 @@
FROM centos:7 FROM centos:7
# A version field to invalide 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 FLEX_VERSION=2.6.4 ENV FLEX_VERSION=2.6.4
ENV FLEX_DIR=/opt/flex ENV FLEX_DIR=/opt/flex

View file

@ -1,5 +1,9 @@
FROM quay.io/centos/centos:stream8 FROM quay.io/centos/centos:stream8
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
RUN dnf config-manager --set-enabled powertools RUN dnf config-manager --set-enabled powertools

View file

@ -1,5 +1,9 @@
FROM quay.io/centos/centos:stream9 FROM quay.io/centos/centos:stream9
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
# dnf config-manager isn't available at first, and # dnf config-manager isn't available at first, and
# we need it to install the CRB repo below. # we need it to install the CRB repo below.
RUN dnf -y install 'dnf-command(config-manager)' RUN dnf -y install 'dnf-command(config-manager)'

View file

@ -2,6 +2,10 @@ FROM debian:10
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
# A version field to invalide 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 CMAKE_DIR "/opt/cmake" ENV CMAKE_DIR "/opt/cmake"
ENV CMAKE_VERSION "3.19.1" ENV CMAKE_VERSION "3.19.1"

View file

@ -2,6 +2,10 @@ FROM debian:11
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN apt-get update && apt-get -y install \ RUN apt-get update && apt-get -y install \
ccache \ ccache \
git \ git \

View file

@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
# A version field to invalide Cirrus's build cache when needed, as suggested in # A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822 # https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 221001 ENV DOCKERFILE_VERSION 20220519
ENV CMAKE_DIR "/opt/cmake" ENV CMAKE_DIR "/opt/cmake"
ENV CMAKE_VERSION "3.19.1" ENV CMAKE_VERSION "3.19.1"

View file

@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
# A version field to invalide Cirrus's build cache when needed, as suggested in # A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822 # https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 221001 ENV DOCKERFILE_VERSION 20220519
ENV CMAKE_DIR "/opt/cmake" ENV CMAKE_DIR "/opt/cmake"
ENV CMAKE_VERSION "3.19.1" ENV CMAKE_VERSION "3.19.1"

View file

@ -1,5 +1,9 @@
FROM fedora:34 FROM fedora:34
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN dnf -y install \ RUN dnf -y install \
ccache \ ccache \
bison \ bison \

View file

@ -1,5 +1,9 @@
FROM fedora:35 FROM fedora:35
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN dnf -y install \ RUN dnf -y install \
ccache \ ccache \
bison \ bison \

View file

@ -2,6 +2,10 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN apt-get update && apt-get -y install \ RUN apt-get update && apt-get -y install \
ccache \ ccache \
git \ git \

View file

@ -1,5 +1,9 @@
FROM opensuse/leap:15.3 FROM opensuse/leap:15.3
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:15.2:Update/standard/openSUSE:Leap:15.2:Update.repo \ RUN zypper addrepo https://download.opensuse.org/repositories/openSUSE:Leap:15.2:Update/standard/openSUSE:Leap:15.2:Update.repo \
&& zypper refresh \ && zypper refresh \
&& zypper in -y \ && zypper in -y \

View file

@ -2,6 +2,10 @@ FROM ubuntu:18.04
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
# A version field to invalide 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 CMAKE_DIR "/opt/cmake" ENV CMAKE_DIR "/opt/cmake"
ENV CMAKE_VERSION "3.19.1" ENV CMAKE_VERSION "3.19.1"
ENV PATH "${CMAKE_DIR}/bin:${PATH}" ENV PATH "${CMAKE_DIR}/bin:${PATH}"

View file

@ -2,6 +2,10 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN apt-get update && apt-get -y install \ RUN apt-get update && apt-get -y install \
ccache \ ccache \
git \ git \

View file

@ -2,6 +2,10 @@ FROM ubuntu:21.10
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles" ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
# A version field to invalide Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20220519
RUN apt-get update && apt-get -y install \ RUN apt-get update && apt-get -y install \
git \ git \
ccache \ ccache \