File tree Expand file tree Collapse file tree 3 files changed +14
-20
lines changed
Expand file tree Collapse file tree 3 files changed +14
-20
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ This repository is hosting the container images that are needed to run the REDCa
77Those images are as follow :
88- ` httpd-shibd ` : A custom container made to host an instance of Apache HTTPd and Shibboleth.
99 - [ see the ` httpd-shibd ` folder] ( ./httpd-shibd/ )
10- - ` fastcgi-client ` : A simple FastCGI client.
11- - [ see the ` fastcgi-client ` folder] ( ./fastcgi-client/ )
1210- ` php-fpm ` : A PHP 8.2 FPM server that contains all dependencies and configurations needed by REDCap.
1311 - [ see the ` php-fpm ` folder] ( ./php-fpm/ )
1412
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ RUN dnf install -y epel-release &&\
88 dnf update -y &&\
99 dnf upgrade -y &&\
1010 dnf install -y \
11- supervisor \
12- httpd \
13- shibboleth.x86_64 \
14- mod_ssl &&\
11+ supervisor \
12+ httpd \
13+ mod_ssl \
14+ shibboleth.x86_64 &&\
1515 dnf clean all
1616
1717RUN ls -lah /var/run
Original file line number Diff line number Diff line change 11FROM php:8.2-fpm-bookworm
22
3- # ## Installing required packages
4- RUN apt update -y &&\
5- apt upgrade -y &&\
6- apt -y --no-install-recommends install \
7- net-tools \
8- vim \
9- wget \
10- curl \
11- ghostscript \
12- libcurl4-openssl-dev \
13- zip \
3+ # ## Installing required packages and removing useless ones (to fix CVEs)
4+ RUN apt-get update -y &&\
5+ apt-get upgrade -y &&\
6+ apt-get purge -y \
7+ wget &&\
8+ apt-get install -y --no-install-recommends \
9+ libfcgi-bin \
1410 msmtp \
11+ libcurl4-openssl-dev \
1512 libzip-dev \
1613 libfreetype6-dev \
1714 libjpeg62-turbo-dev \
1815 imagemagick \
1916 libmagickwand-dev \
20- libpng-dev \
21- dos2unix && \
22- apt clean && \
17+ libpng-dev &&\
18+ apt-get clean && \
2319 rm -rf /var/lib/apt/lists/*
2420
2521# Installing PHP extensions
You can’t perform that action at this time.
0 commit comments