Skip to content

Commit 3cc9bb8

Browse files
committed
Resolved merge conflicts - updated with latest dev changes
2 parents 4b36a38 + 7611aa3 commit 3cc9bb8

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ This repository is hosting the container images that are needed to run the REDCa
77
Those 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

httpd-shibd/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

1717
RUN ls -lah /var/run

php-fpm/Dockerfile

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
FROM 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

0 commit comments

Comments
 (0)