File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,12 +3,22 @@ Image on Docker Hub: https://hub.docker.com/r/fnproject/python
33## Building Python images
44
55``` sh
6- pushd build/3.7.1; docker build -t fnproject/python:3.7.1-dev . ; popd
6+ pushd build-stage/3.6; docker build -t fnproject/python:3.6-dev . ; popd
7+ pushd runtime/3.6; docker build -t fnproject/python:3.6 . ; popd
8+ ```
9+
10+ ``` sh
11+ pushd build-stage/3.7.1; docker build -t fnproject/python:3.7.1-dev . ; popd
712pushd runtime/3.7.1; docker build -t fnproject/python:3.7.1 . ; popd
813```
914
1015Then push:
1116
17+ ``` sh
18+ docker push fnproject/python:3.6-dev
19+ docker push fnproject/python:3.6
20+ ```
21+
1222``` sh
1323docker push fnproject/python:3.7.1-dev
1424docker push fnproject/python:3.7.1
Original file line number Diff line number Diff line change 1+ FROM python:3.6-slim-stretch
2+
3+ RUN apt-get update && apt-get install --no-install-recommends -qy build-essential gcc && apt-get clean
Original file line number Diff line number Diff line change 1+ FROM python:3.7.1-slim-stretch
2+
3+ RUN apt-get update && apt-get install --no-install-recommends -qy build-essential gcc && apt-get clean
Original file line number Diff line number Diff line change 1+ FROM python:3.6-slim-stretch
You can’t perform that action at this time.
0 commit comments