Skip to content

Commit

Permalink
PLEAZZ
Browse files Browse the repository at this point in the history
  • Loading branch information
joyliu-q committed Nov 5, 2023
1 parent 4e6c998 commit 0abbbfa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docker/shibboleth-sp-nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build stage
FROM debian:buster-slim AS build

ENV NGINX_VERSION=1.14.2-2~buster
ENV NGINX_VERSION=1.18.0-2~buster

# Install dependencies
RUN apt-get update \
Expand Down Expand Up @@ -37,6 +37,16 @@ RUN apt-get update \
&& apt-get install --no-install-recommends -y gnupg2 wget ca-certificates \
&& rm -rf /var/lib/apt/lists/*

# Install Python 3.10
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

0 comments on commit 0abbbfa

Please sign in to comment.