Skip to content

Commit

Permalink
fix: update Satosa base to Alpine 3.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvatore Laiso committed Feb 1, 2024
1 parent f17340c commit 1efc35f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions example/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
. /.venv/bin/activate

# get IDEM MDQ key
if [[ $GET_IDEM_MDQ_KEY == true ]]; then
Expand Down
2 changes: 1 addition & 1 deletion example/uwsgi_setup/uwsgi/uwsgi.ini.docker
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ processes = 8
# sets max connections to
listen = 2048

wsgi-file = /usr/lib/python3.11/site-packages/satosa/wsgi.py
wsgi-file = /.venv/lib/python3.11/site-packages/satosa/wsgi.py
callable = app

log-master-bufsize = 128000
Expand Down
12 changes: 6 additions & 6 deletions satosa.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18
FROM alpine:3.19.1

# Metadata params
ARG BUILD_DATE
Expand All @@ -17,7 +17,7 @@ LABEL org.opencontainers.image.authors=$AUTHORS \
org.opencontainers.image.source=$VCS_URL \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.description="Docker Image di Satosa-Saml2Spid."

RUN apk update
RUN apk add --update --no-cache tzdata
RUN cp /usr/share/zoneinfo/Europe/Rome /etc/localtime
Expand All @@ -30,12 +30,12 @@ RUN apk add mailcap
COPY requirements.txt /


RUN apk add --update xmlsec libffi-dev openssl-dev python3 py3-pip python3-dev procps git openssl build-base gcc wget bash jq yq

ENV BASEDIR="/satosa_proxy"

RUN apk add --update xmlsec libffi-dev openssl-dev python3 py3-pip python3-dev procps git openssl build-base gcc wget bash jq yq \
&& pip3 install --upgrade pip setuptools --root-user-action=ignore \
&& pip3 install -r requirements.txt --ignore-installed --root-user-action=ignore \
&& mkdir $BASEDIR
RUN python3 -m venv .venv && . .venv/bin/activate && pip3 install --upgrade pip setuptools \
&& pip3 install -r requirements.txt --ignore-installed --root-user-action=ignore && mkdir $BASEDIR

RUN pip list

Expand Down

0 comments on commit 1efc35f

Please sign in to comment.