mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Add DOCKERFILE_VERSION variable to all CI dockerfiles
This commit is contained in:
parent
eeebf8a429
commit
4f11a57159
15 changed files with 54 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)'
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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}"
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue