From f4ed086c82304b296be8e732e37770c02939c24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 13 Sep 2021 21:36:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20Dependabot=20and=20externa?= =?UTF-8?q?l=20dependencies,=20to=20get=20automatic=20upgrade=20PRs=20(#11?= =?UTF-8?q?1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 17 +++++++++++++++++ docker-images/python2.7.dockerfile | 7 ++++--- docker-images/python3.6.dockerfile | 7 ++++--- docker-images/python3.7.dockerfile | 7 ++++--- docker-images/python3.8.dockerfile | 7 ++++--- docker-images/python3.9.dockerfile | 7 ++++--- docker-images/requirements.txt | 1 + 7 files changed, 38 insertions(+), 15 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 docker-images/requirements.txt diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8447188 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,17 @@ +version: 2 +updates: + # GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + # Development/testing dependencies + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "daily" + # Docker image dependencies + - package-ecosystem: "pip" + directory: "/docker-images" + schedule: + interval: "daily" diff --git a/docker-images/python2.7.dockerfile b/docker-images/python2.7.dockerfile index accf947..2a42f8f 100644 --- a/docker-images/python2.7.dockerfile +++ b/docker-images/python2.7.dockerfile @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh +# Install requirements: uWSGI +COPY requirements.txt /tmp/requirements.txt +RUN pip install -r /tmp/requirements.txt + EXPOSE 80 # Expose 443, in case of LTS / HTTPS EXPOSE 443 -# Install uWSGI -RUN pip install uwsgi - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/python3.6.dockerfile b/docker-images/python3.6.dockerfile index 1cca82e..a2bdadd 100644 --- a/docker-images/python3.6.dockerfile +++ b/docker-images/python3.6.dockerfile @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh +# Install requirements: uWSGI +COPY requirements.txt /tmp/requirements.txt +RUN pip install -r /tmp/requirements.txt + EXPOSE 80 # Expose 443, in case of LTS / HTTPS EXPOSE 443 -# Install uWSGI -RUN pip install uwsgi - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/python3.7.dockerfile b/docker-images/python3.7.dockerfile index 8315303..5203e37 100644 --- a/docker-images/python3.7.dockerfile +++ b/docker-images/python3.7.dockerfile @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh +# Install requirements: uWSGI +COPY requirements.txt /tmp/requirements.txt +RUN pip install -r /tmp/requirements.txt + EXPOSE 80 # Expose 443, in case of LTS / HTTPS EXPOSE 443 -# Install uWSGI -RUN pip install uwsgi - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/python3.8.dockerfile b/docker-images/python3.8.dockerfile index 99a41ab..714a832 100644 --- a/docker-images/python3.8.dockerfile +++ b/docker-images/python3.8.dockerfile @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh +# Install requirements: uWSGI +COPY requirements.txt /tmp/requirements.txt +RUN pip install -r /tmp/requirements.txt + EXPOSE 80 # Expose 443, in case of LTS / HTTPS EXPOSE 443 -# Install uWSGI -RUN pip install uwsgi - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/python3.9.dockerfile b/docker-images/python3.9.dockerfile index 1ec5c70..73f49bb 100644 --- a/docker-images/python3.9.dockerfile +++ b/docker-images/python3.9.dockerfile @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh / RUN bash /install-nginx-debian.sh +# Install requirements: uWSGI +COPY requirements.txt /tmp/requirements.txt +RUN pip install -r /tmp/requirements.txt + EXPOSE 80 # Expose 443, in case of LTS / HTTPS EXPOSE 443 -# Install uWSGI -RUN pip install uwsgi - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/requirements.txt b/docker-images/requirements.txt new file mode 100644 index 0000000..b64ab47 --- /dev/null +++ b/docker-images/requirements.txt @@ -0,0 +1 @@ +uwsgi==2.0.19.1