-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI workflow + Docker-compose (review 3.1)
- Loading branch information
1 parent
d81413e
commit 7ccdc5d
Showing
6 changed files
with
38 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
!example_sp | ||
!requirements.txt | ||
!oids.conf | ||
!build_spid_certs.sh | ||
!build_spid_certs.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
FROM alpine:3.18 | ||
ENV BASEDIR="/django_sp" | ||
RUN apk update | ||
RUN apk add --update --no-cache tzdata | ||
RUN cp /usr/share/zoneinfo/Europe/Rome /etc/localtime | ||
RUN echo "Europe/Rome" > /etc/timezone | ||
RUN apk del tzdata | ||
|
||
COPY djangosaml2_sp/requirements.txt / | ||
|
||
COPY example_sp/djangosaml2_sp/requirements.txt / | ||
COPY example_sp/entrypoint.sh / | ||
|
||
WORKDIR /djangosaml2_sp | ||
|
||
RUN apk add --update xmlsec-dev 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 virtualenv | ||
|
||
&& pip3 install --upgrade pip setuptools --root-user-action=ignore | ||
|
||
RUN pip list | ||
WORKDIR $BASEDIR/ | ||
|
||
|
||
RUN pip3 install -r ../requirements.txt --ignore-installed --root-user-action=ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
pip3 install -r ../requirements.txt --ignore-installed --root-user-action=ignore | ||
cd djangosaml2_sp | ||
python -B ./manage.py runserver 0.0.0.0:8000 | ||
python -B manage.py migrate | ||
python -B manage.py runserver 0.0.0.0:8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters