-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (30 loc) · 1.3 KB
/
Dockerfile
File metadata and controls
35 lines (30 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM php:7.2.4-fpm-stretch
LABEL MAINTAINER Balázs SOLTÉSZ <solazs@sztaki.hu>
# Install some dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
wget \
unzip \
libicu-dev \
libmemcached-dev \
zlib1g-dev \
curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Download and extract simplesamlphp with aa and hexaa modules
RUN cd /opt \
&& curl -L -o simplesamlphp.tar.gz https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.15.4/simplesamlphp-1.15.4.tar.gz \
&& tar xzf simplesamlphp.tar.gz \
&& mv simplesamlphp-1.15.4 simplesamlphp \
&& ls -alF \
&& cd simplesamlphp/modules \
&& curl -L -o aa.tar.gz https://github.com/NIIF/simplesamlphp-module-aa/archive/v1.0.3.tar.gz \
&& tar xzf aa.tar.gz \
&& mv simplesamlphp-module-aa-1.0.3 aa \
&& curl -L -o hexaa.tar.gz https://github.com/NIIF/simplesamlphp-module-hexaa/archive/master.tar.gz \
&& tar xzf hexaa.tar.gz \
&& mv simplesamlphp-module-hexaa-master hexaa \
&& rm aa.tar.gz hexaa.tar.gz /opt/simplesamlphp.tar.gz
COPY authsources.php /opt/simplesamlphp/config/
COPY boot.sh /usr/local/bin/
CMD ["/usr/local/bin/boot.sh"]