Skip to content

Commit 1565b7e

Browse files
authored
Merge pull request #315 from infosiftr/caveman-templates
Add templates for Python 2.7
2 parents 48284b4 + 6ec65c2 commit 1565b7e

File tree

15 files changed

+442
-17
lines changed

15 files changed

+442
-17
lines changed

2.7/alpine3.6/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM alpine:3.6
28

39
# ensure local python is preferred over distribution python
@@ -28,6 +34,7 @@ RUN set -ex \
2834
&& export GNUPGHOME="$(mktemp -d)" \
2935
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
3036
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
37+
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
3138
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
3239
&& mkdir -p /usr/src/python \
3340
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \

2.7/alpine3.7/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM alpine:3.7
28

39
# ensure local python is preferred over distribution python
@@ -28,6 +34,7 @@ RUN set -ex \
2834
&& export GNUPGHOME="$(mktemp -d)" \
2935
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
3036
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
37+
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
3138
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
3239
&& mkdir -p /usr/src/python \
3340
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \

2.7/alpine3.8/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM alpine:3.8
28

39
# ensure local python is preferred over distribution python
@@ -28,6 +34,7 @@ RUN set -ex \
2834
&& export GNUPGHOME="$(mktemp -d)" \
2935
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
3036
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
37+
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
3138
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
3239
&& mkdir -p /usr/src/python \
3340
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \

2.7/jessie/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM buildpack-deps:jessie
28

39
# ensure local python is preferred over distribution python
@@ -24,6 +30,7 @@ RUN set -ex \
2430
&& export GNUPGHOME="$(mktemp -d)" \
2531
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
2632
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
33+
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
2734
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
2835
&& mkdir -p /usr/src/python \
2936
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \

2.7/jessie/slim/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie-slim
28

39
# ensure local python is preferred over distribution python
@@ -46,6 +52,7 @@ RUN set -ex \
4652
&& export GNUPGHOME="$(mktemp -d)" \
4753
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
4854
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
55+
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
4956
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
5057
&& mkdir -p /usr/src/python \
5158
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \

2.7/stretch/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM buildpack-deps:stretch
28

39
# ensure local python is preferred over distribution python
@@ -24,6 +30,7 @@ RUN set -ex \
2430
&& export GNUPGHOME="$(mktemp -d)" \
2531
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
2632
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
33+
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
2734
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
2835
&& mkdir -p /usr/src/python \
2936
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \

2.7/stretch/slim/Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:stretch-slim
28

39
# ensure local python is preferred over distribution python
@@ -12,10 +18,6 @@ ENV PYTHONIOENCODING UTF-8
1218
# runtime dependencies
1319
RUN apt-get update && apt-get install -y --no-install-recommends \
1420
ca-certificates \
15-
libgdbm3 \
16-
libreadline7 \
17-
libsqlite3-0 \
18-
libssl1.1 \
1921
netbase \
2022
&& rm -rf /var/lib/apt/lists/*
2123

@@ -50,6 +52,7 @@ RUN set -ex \
5052
&& export GNUPGHOME="$(mktemp -d)" \
5153
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
5254
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
55+
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
5356
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
5457
&& mkdir -p /usr/src/python \
5558
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \

2.7/wheezy/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM buildpack-deps:wheezy
28

39
# ensure local python is preferred over distribution python
@@ -24,6 +30,7 @@ RUN set -ex \
2430
&& export GNUPGHOME="$(mktemp -d)" \
2531
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
2632
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
33+
&& { command -v gpgconf > /dev/null && gpgconf --kill all || :; } \
2734
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
2835
&& mkdir -p /usr/src/python \
2936
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \

2.7/windows/windowsservercore-1709/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM microsoft/windowsservercore:1709
28

39
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

2.7/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM microsoft/windowsservercore:ltsc2016
28

39
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

0 commit comments

Comments
 (0)