mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +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
|
||||
|
||||
# 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 \
|
||||
ccache \
|
||||
cmake \
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
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_DIR=/opt/flex
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
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 config-manager --set-enabled powertools
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
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
|
||||
# we need it to install the CRB repo below.
|
||||
RUN dnf -y install 'dnf-command(config-manager)'
|
||||
|
|
|
@ -2,6 +2,10 @@ FROM debian:10
|
|||
|
||||
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_VERSION "3.19.1"
|
||||
|
||||
|
|
|
@ -2,6 +2,10 @@ FROM debian:11
|
|||
|
||||
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 \
|
||||
ccache \
|
||||
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
|
||||
# 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_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
|
||||
# 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_VERSION "3.19.1"
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
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 \
|
||||
ccache \
|
||||
bison \
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
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 \
|
||||
ccache \
|
||||
bison \
|
||||
|
|
|
@ -2,6 +2,10 @@ FROM ubuntu:20.04
|
|||
|
||||
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 \
|
||||
ccache \
|
||||
git \
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
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 \
|
||||
&& zypper refresh \
|
||||
&& zypper in -y \
|
||||
|
|
|
@ -2,6 +2,10 @@ FROM ubuntu:18.04
|
|||
|
||||
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_VERSION "3.19.1"
|
||||
ENV PATH "${CMAKE_DIR}/bin:${PATH}"
|
||||
|
|
|
@ -2,6 +2,10 @@ FROM ubuntu:20.04
|
|||
|
||||
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 \
|
||||
ccache \
|
||||
git \
|
||||
|
|
|
@ -2,6 +2,10 @@ FROM ubuntu:21.10
|
|||
|
||||
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 \
|
||||
git \
|
||||
ccache \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue