From 88a1fffc3fd681906e0704239a45e3f333b0394f Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Sat, 24 Feb 2024 10:23:41 +0100 Subject: [PATCH] Add ccache to the images --- Docker/alma9/alma9-build/Dockerfile | 2 +- Docker/centos7/centos7-build/Dockerfile | 2 +- Docker/ubuntu22/ubuntu22-build/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Docker/alma9/alma9-build/Dockerfile b/Docker/alma9/alma9-build/Dockerfile index d590e0b..4fba485 100644 --- a/Docker/alma9/alma9-build/Dockerfile +++ b/Docker/alma9/alma9-build/Dockerfile @@ -4,7 +4,7 @@ FROM gitlab-registry.cern.ch/linuxsupport/alma9-base # wget needed for some tests RUN dnf update -y && \ dnf groupinstall -y "Development Tools" && \ - dnf install -y vim gfortran wget python3-pip epel-release mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel krb5-devel && \ + dnf install -y vim gfortran wget python3-pip epel-release mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel krb5-devel ccache && \ dnf install -y parallel && \ dnf clean all diff --git a/Docker/centos7/centos7-build/Dockerfile b/Docker/centos7/centos7-build/Dockerfile index e529295..900b204 100644 --- a/Docker/centos7/centos7-build/Dockerfile +++ b/Docker/centos7/centos7-build/Dockerfile @@ -1,6 +1,6 @@ FROM gitlab-registry.cern.ch/linuxsupport/cc7-base -RUN yum update -y && yum groupinstall -y "Development Tools" && yum install -y epel-release python3 which wget vim python3-pip mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel krb5-devel +RUN yum update -y && yum groupinstall -y "Development Tools" && yum install -y epel-release python3 which wget vim python3-pip mesa-libGL mesa-libGL-devel mesa-libGLU mesa-libGLU-devel krb5-devel ccache RUN pip3 install boto3 requests CMD ["/bin/bash"] \ No newline at end of file diff --git a/Docker/ubuntu22/ubuntu22-build/Dockerfile b/Docker/ubuntu22/ubuntu22-build/Dockerfile index 75aef74..09ee33b 100644 --- a/Docker/ubuntu22/ubuntu22-build/Dockerfile +++ b/Docker/ubuntu22/ubuntu22-build/Dockerfile @@ -4,7 +4,7 @@ FROM ubuntu:22.04 RUN apt update -y && \ apt upgrade -y && \ DEBIAN_FRONTEND=noninteractive apt install -y \ - build-essential git python3 python3-pip vim unzip gfortran file curl wget pkg-config rsync tzdata libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa libglu1-mesa-dev libkrb5-dev && \ + build-essential git python3 python3-pip vim unzip gfortran file curl wget pkg-config rsync tzdata libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa libglu1-mesa-dev libkrb5-dev ccache && \ apt clean && \ rm -rf /var/lib/apt/lists/*