Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit 4cec03f

Browse files
committed
Merge branch 'develop'
2 parents 11f49b3 + 79074e6 commit 4cec03f

File tree

20 files changed

+14
-247
lines changed

20 files changed

+14
-247
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Supported tags and `Dockerfile` links
22

33
- `py2.7`, `python2.7` [_(python2.7/Dockerfile)_](https://github.com/robertpeteuil/docker-nginx-uwsgi/blob/master/python2.7/Dockerfile)
4-
- `py2.7-alpine`, `python2.7-alpine` [_(python2.7-alpine/Dockerfile)_](https://github.com/robertpeteuil/docker-nginx-uwsgi/blob/master/python2.7-alpine/Dockerfile)
5-
- `py3.5`, `python3.5` [_(python3.5/Dockerfile)_](https://github.com/robertpeteuil/docker-nginx-uwsgi/blob/master/python3.5/Dockerfile)
6-
- `py3.5-alpine`, `python3.5-alpine` [_(python3.5-alpine/Dockerfile)_](https://github.com/robertpeteuil/docker-nginx-uwsgi/blob/master/python3.5-alpine/Dockerfile)
4+
- `py2.7-A`, `py2.7-alpine`, `python2.7-alpine` [_(python2.7-alpine/Dockerfile)_](https://github.com/robertpeteuil/docker-nginx-uwsgi/blob/master/python2.7-alpine/Dockerfile)
75
- `py3.6`, `python3.6` [_(python3.6/Dockerfile)_](https://github.com/robertpeteuil/docker-nginx-uwsgi/blob/master/python3.6/Dockerfile)
8-
- `py3.6-alpine`, `python3.6-alpine` [_(python3.6-alpine/Dockerfile)_](https://github.com/robertpeteuil/docker-nginx-uwsgi/blob/master/python3.6-alpine/Dockerfile)
6+
- `py3.6-A`, `py3.6-alpine`, `python3.6-alpine` [_(python3.6-alpine/Dockerfile)_](https://github.com/robertpeteuil/docker-nginx-uwsgi/blob/master/python3.6-alpine/Dockerfile)
97

108
**You must explicitly use one of the tags above.** The `latest` tag is not assigned since each tag represents a different variant, not an incremental version.
119

@@ -24,7 +22,7 @@ This Docker image allow the creation/migration of Python Web Apps to run on Ngin
2422
- Other images - such as a pre-built image for running Flask Apps [nginx-uwsgi-flask](https://github.com/robertpeteuil/docker-nginx-uwsgi-flask) .
2523
- A development image that can be customized with your unique web-framework, Python libraries and code.
2624

27-
This repo auto-generates images to [Docker-Hub](https://hub.docker.com/r/robpco/nginx-uwsgi/). It includes standard and alpine-based variants for each supported Python version (2.7, 3.5, 3.6).
25+
This repo auto-generates images to [Docker-Hub](https://hub.docker.com/r/robpco/nginx-uwsgi/). It includes standard and alpine-based variants for each supported Python version (2.7, 3.6).
2826

2927
## Usage
3028

@@ -82,6 +80,9 @@ Inspired by the project at [tiangolo/UWSGI-NGINX-DOCKER](https://github.com/tian
8280
- Thanks to github user [ProgEsteves](https://github.com/ProgEsteves)
8381
- 2017-11-29: Automatic image re-build when Python updates
8482
- 2017-11-28: Updated Nginx version installed on non-Alpine images
83+
- 2018-05-04: Updated non alpine version to use `pythonx.x-stretch` as base & Nginx 1.13.12-1
84+
- 2018-05-04: Update Alpine versions to use `pythonx.x-alpine3.7` as base
85+
- 2018-05-04: Removed `python3.5` support due to lack of use and base on strech and alpine3.7
8586

8687
## CHANGELOG
8788

python2.7-alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:2.7-alpine
1+
FROM python:2.7-alpine3.7
22

33
RUN set -x && \
44
apk add --no-cache \

python2.7/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM python:2.7
1+
FROM python:2.7-stretch
22

33
RUN pip install --no-cache-dir --disable-pip-version-check uwsgi
44

5-
ENV NGINX_VERSION 1.13.9-1~jessie
5+
ENV NGINX_VERSION 1.13.12-1~stretch
66

77
# use multiple key servers to protect against build failure
88
RUN set -x && \
@@ -18,7 +18,7 @@ RUN set -x && \
1818
apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \
1919
done; \
2020
test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \
21-
echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list \
21+
echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \
2222
&& apt-get update && apt-get install -y \
2323
ca-certificates \
2424
nginx=${NGINX_VERSION} \

python3.5-alpine/Dockerfile

Lines changed: 0 additions & 44 deletions
This file was deleted.

python3.5-alpine/app/main.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

python3.5-alpine/app/uwsgi.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.

python3.5-alpine/entrypoint.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

python3.5-alpine/nginx.conf

Lines changed: 0 additions & 6 deletions
This file was deleted.

python3.5-alpine/nginx.main.conf

Lines changed: 0 additions & 32 deletions
This file was deleted.

python3.5-alpine/supervisord.conf

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)