Skip to content

Commit 2a85cd2

Browse files
authored
Bring all Dockerfiles for supported Python runtimes into FDK repo (#76)
* Bring all supported Python runtimes to FDK repo * fixing README
1 parent d60af0a commit 2a85cd2

4 files changed

Lines changed: 18 additions & 1 deletion

File tree

images/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff 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
712
pushd runtime/3.7.1; docker build -t fnproject/python:3.7.1 .; popd
813
```
914

1015
Then push:
1116

17+
```sh
18+
docker push fnproject/python:3.6-dev
19+
docker push fnproject/python:3.6
20+
```
21+
1222
```sh
1323
docker push fnproject/python:3.7.1-dev
1424
docker push fnproject/python:3.7.1

images/build-stage/3.6/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
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
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
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

images/runtime/3.6/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM python:3.6-slim-stretch

0 commit comments

Comments
 (0)