-
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.
ADD django_sp in Docker-compose and revisited CI workflow (#97)
* Update CI workflow + ADD django_sp in Docker-compose * Update CI Workflow - Review 2 * Update CI Workflow - Review 2.1 * Update CI Workflow - Review 2.2 * Update CI workflow + Docker-compose (review 3.1)
- Loading branch information
1 parent
d03c902
commit 4ad448e
Showing
6 changed files
with
59 additions
and
28 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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM alpine:3.18 | ||
|
||
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 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 | ||
|
||
RUN pip list | ||
|
||
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
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