Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild Shibboleth Image #180

Closed
wants to merge 9 commits into from
Closed
12 changes: 11 additions & 1 deletion docker/shibboleth-sp-nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,19 @@ ENV NGINX_VERSION=1.18.0-2~buster

# Install dependencies
RUN apt-get update \
&& apt-get install --no-install-recommends -y gnupg2 wget ca-certificates \
&& apt-get install --no-install-recommends -y gnupg2 wget build-essential ca-certificates curl tar make zlib1g-dev libssl-dev libpcre3-dev \
&& rm -rf /var/lib/apt/lists/*

# Install Python 3.10 from the official Python repository
RUN curl -O https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz && \
tar -xzvf Python-3.10.0.tgz && \
cd Python-3.10.0 && \
./configure --enable-optimizations && \
make -j "$(nproc)" && \
make install && \
cd .. && \
rm -rf Python-3.10.0*

# Add Shibboleth and Nginx repositories
RUN wget -qO - http://pkg.switch.ch/switchaai/SWITCHaai-swdistrib.asc | apt-key add - \
&& wget -qO - https://nginx.org/keys/nginx_signing.key | apt-key add - \
Expand Down
Loading