Skip to content

Commit 0f04e89

Browse files
committed
lowered versions to 256 in all Python versions
added socat to dependencies optimized build script only for multi-core-CPUs
1 parent 757b2a5 commit 0f04e89

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

3.10-rc/alpine3.12/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
FROM danielschulz/alpine:v3.12
33
MAINTAINER Daniel Schulz <danielschulz2005@hotmail.com>
4-
LABEL BUILD_TIME_PYTHON="20201228_1027 UTC"
4+
LABEL BUILD_TIME_PYTHON="20201228_1455 UTC"
55

66
# ensure local python is preferred over distribution python
77
ENV PATH /usr/local/bin:${PATH}
@@ -22,8 +22,8 @@ RUN set -eux; \
2222

2323
# use 3.6, 3.7, 3.8, 3.9, (as of now, use "master" for 3.10)
2424
ARG CPYTHON_GIT_URI="https://github.com/danielschulz/cpython.git"
25-
ARG CPYTHON_GIT_REFERENCE="v3.10.20201228a"
26-
ARG PYTHON_VERSION="${CPYTHON_GIT_REFERENCE}"
25+
ARG CPYTHON_GIT_REFERENCE="v3.10.256a"
26+
ARG PYTHON_VERSION=${CPYTHON_GIT_REFERENCE}
2727

2828
ENV PYTHON_VERSION=${PYTHON_VERSION}
2929

@@ -82,7 +82,7 @@ RUN set -ex \
8282
--with-system-expat \
8383
--with-system-ffi \
8484
--without-ensurepip \
85-
&& make -j "$(nproc)" \
85+
&& make -j "$( nproc --ignore=1 )" \
8686
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8787
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8888
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \

3.6/alpine3.12/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
FROM danielschulz/alpine:v3.12
33
MAINTAINER Daniel Schulz <danielschulz2005@hotmail.com>
4-
LABEL BUILD_TIME_PYTHON="20201228_1027 UTC"
4+
LABEL BUILD_TIME_PYTHON="20201228_1455 UTC"
55

66
# ensure local python is preferred over distribution python
77
ENV PATH /usr/local/bin:${PATH}
@@ -22,8 +22,8 @@ RUN set -eux; \
2222

2323
# use 3.6, 3.7, 3.8, 3.9, (as of now, use "master" for 3.10)
2424
ARG CPYTHON_GIT_URI="https://github.com/danielschulz/cpython.git"
25-
ARG CPYTHON_GIT_REFERENCE="v3.6.20201228rc"
26-
ARG PYTHON_VERSION="${CPYTHON_GIT_REFERENCE}"
25+
ARG CPYTHON_GIT_REFERENCE="v3.6.256rc"
26+
ARG PYTHON_VERSION=${CPYTHON_GIT_REFERENCE}
2727

2828
ENV PYTHON_VERSION=${PYTHON_VERSION}
2929

@@ -82,7 +82,7 @@ RUN set -ex \
8282
--with-system-expat \
8383
--with-system-ffi \
8484
--without-ensurepip \
85-
&& make -j "$(nproc)" \
85+
&& make -j "$( nproc --ignore=1 )" \
8686
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8787
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8888
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \

3.7/alpine3.12/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
FROM danielschulz/alpine:v3.12
33
MAINTAINER Daniel Schulz <danielschulz2005@hotmail.com>
4-
LABEL BUILD_TIME_PYTHON="20201228_1027 UTC"
4+
LABEL BUILD_TIME_PYTHON="20201228_1455 UTC"
55

66
# ensure local python is preferred over distribution python
77
ENV PATH /usr/local/bin:${PATH}
@@ -22,8 +22,8 @@ RUN set -eux; \
2222

2323
# use 3.6, 3.7, 3.8, 3.9, (as of now, use "master" for 3.10)
2424
ARG CPYTHON_GIT_URI="https://github.com/danielschulz/cpython.git"
25-
ARG CPYTHON_GIT_REFERENCE="v3.7.20201228rc"
26-
ARG PYTHON_VERSION="${CPYTHON_GIT_REFERENCE}"
25+
ARG CPYTHON_GIT_REFERENCE="v3.7.256rc"
26+
ARG PYTHON_VERSION=${CPYTHON_GIT_REFERENCE}
2727

2828
ENV PYTHON_VERSION=${PYTHON_VERSION}
2929

@@ -82,7 +82,7 @@ RUN set -ex \
8282
--with-system-expat \
8383
--with-system-ffi \
8484
--without-ensurepip \
85-
&& make -j "$(nproc)" \
85+
&& make -j "$( nproc --ignore=1 )" \
8686
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8787
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8888
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \

3.8/alpine3.12/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
FROM danielschulz/alpine:v3.12
33
MAINTAINER Daniel Schulz <danielschulz2005@hotmail.com>
4-
LABEL BUILD_TIME_PYTHON="20201228_1027 UTC"
4+
LABEL BUILD_TIME_PYTHON="20201228_1455 UTC"
55

66
# ensure local python is preferred over distribution python
77
ENV PATH /usr/local/bin:${PATH}
@@ -22,8 +22,8 @@ RUN set -eux; \
2222

2323
# use 3.6, 3.7, 3.8, 3.9, (as of now, use "master" for 3.10)
2424
ARG CPYTHON_GIT_URI="https://github.com/danielschulz/cpython.git"
25-
ARG CPYTHON_GIT_REFERENCE="v3.8.20201228rc"
26-
ARG PYTHON_VERSION="${CPYTHON_GIT_REFERENCE}"
25+
ARG CPYTHON_GIT_REFERENCE="v3.8.256rc"
26+
ARG PYTHON_VERSION=${CPYTHON_GIT_REFERENCE}
2727

2828
ENV PYTHON_VERSION=${PYTHON_VERSION}
2929

@@ -82,7 +82,7 @@ RUN set -ex \
8282
--with-system-expat \
8383
--with-system-ffi \
8484
--without-ensurepip \
85-
&& make -j "$(nproc)" \
85+
&& make -j "$( nproc --ignore=1 )" \
8686
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8787
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8888
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \

3.9/alpine3.12/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
FROM danielschulz/alpine:v3.12
33
MAINTAINER Daniel Schulz <danielschulz2005@hotmail.com>
4-
LABEL BUILD_TIME_PYTHON="20201228_1027 UTC"
4+
LABEL BUILD_TIME_PYTHON="20201228_1455 UTC"
55

66
# ensure local python is preferred over distribution python
77
ENV PATH /usr/local/bin:${PATH}
@@ -22,8 +22,8 @@ RUN set -eux; \
2222

2323
# use 3.6, 3.7, 3.8, 3.9, (as of now, use "master" for 3.10)
2424
ARG CPYTHON_GIT_URI="https://github.com/danielschulz/cpython.git"
25-
ARG CPYTHON_GIT_REFERENCE="v3.9.20201228rc"
26-
ARG PYTHON_VERSION="${CPYTHON_GIT_REFERENCE}"
25+
ARG CPYTHON_GIT_REFERENCE="v3.9.256rc"
26+
ARG PYTHON_VERSION=${CPYTHON_GIT_REFERENCE}
2727

2828
ENV PYTHON_VERSION=${PYTHON_VERSION}
2929

@@ -82,7 +82,7 @@ RUN set -ex \
8282
--with-system-expat \
8383
--with-system-ffi \
8484
--without-ensurepip \
85-
&& make -j "$(nproc)" \
85+
&& make -j "$( nproc --ignore=1 )" \
8686
# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8787
# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8888
EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \

ds-alpine/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ LABEL SUSTAINABLE_CULTURE="https://sloanreview.mit.edu/culture500/" \
2626
AUTHOR_DATES="MjAxODEyMTMgMjAxODEyMTcgMjAxOTEwMTUgMjAyMDA4MjEgMjAyMDA5MjYK" \
2727
THOUGH_LEADERSHIP_FINANCE_BLOG="https://medium.com/wbaa" \
2828
DEAL_W_TECH_DEBT="https://medium.com/swlh/technical-air-pollution-the-reality-of-technical-debt-5afd96321f46" \
29-
BUILD_TIME_ALPINE="20201228_1027 UTC"
29+
BUILD_TIME_ALPINE="20201228_1445 UTC" \
30+
ONLY_DEAD_FISH_GO_W_FLOW="http://readingchomsky.blogspot.com/2014/07/noam-chomsky-2014-how-to-ruin-economy.html"
3031

3132
RUN apk update && \
32-
apk add --no-cache nmap nmap-scripts nmap-nselibs curl wget bind-tools bash curl wget
33+
apk add --no-cache nmap nmap-scripts nmap-nselibs curl wget bind-tools bash curl wget socat
3334

3435
CMD [ "bash" ]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy