This repository was archived by the owner on Mar 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,21 @@ RUN set -ex \
26
26
&& rm python.tar.xz \
27
27
\
28
28
&& apk add --no-cache --virtual .build-deps \
29
+ coreutils \
30
+ dpkg-dev dpkg \
29
31
tcl-dev \
30
32
tk \
31
33
tk-dev \
32
34
# add build deps before removing fetch deps in case there's overlap
33
35
&& apk del .fetch-deps \
34
36
\
35
37
&& cd /usr/src/python \
38
+ && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
36
39
&& ./configure \
40
+ --build="$gnuArch" \
37
41
--enable-shared \
38
42
--enable-unicode=ucs4 \
39
- && make -j$(getconf _NPROCESSORS_ONLN ) \
43
+ && make -j$(nproc ) \
40
44
&& make install \
41
45
\
42
46
&& runDeps="$( \
Original file line number Diff line number Diff line change @@ -26,18 +26,22 @@ RUN set -ex \
26
26
&& rm python.tar.xz \
27
27
\
28
28
&& apk add --no-cache --virtual .build-deps \
29
+ coreutils \
30
+ dpkg-dev dpkg \
29
31
tcl-dev \
30
32
tk \
31
33
tk-dev \
32
34
# add build deps before removing fetch deps in case there's overlap
33
35
&& apk del .fetch-deps \
34
36
\
35
37
&& cd /usr/src/python \
38
+ && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
36
39
&& ./configure \
40
+ --build="$gnuArch" \
37
41
--enable-loadable-sqlite-extensions \
38
42
--enable-shared \
39
43
--without-ensurepip \
40
- && make -j$(getconf _NPROCESSORS_ONLN ) \
44
+ && make -j$(nproc ) \
41
45
&& make install \
42
46
\
43
47
&& runDeps="$( \
Original file line number Diff line number Diff line change @@ -26,18 +26,22 @@ RUN set -ex \
26
26
&& rm python.tar.xz \
27
27
\
28
28
&& apk add --no-cache --virtual .build-deps \
29
+ coreutils \
30
+ dpkg-dev dpkg \
29
31
tcl-dev \
30
32
tk \
31
33
tk-dev \
32
34
# add build deps before removing fetch deps in case there's overlap
33
35
&& apk del .fetch-deps \
34
36
\
35
37
&& cd /usr/src/python \
38
+ && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
36
39
&& ./configure \
40
+ --build="$gnuArch" \
37
41
--enable-loadable-sqlite-extensions \
38
42
--enable-shared \
39
43
--without-ensurepip \
40
- && make -j$(getconf _NPROCESSORS_ONLN ) \
44
+ && make -j$(nproc ) \
41
45
&& make install \
42
46
\
43
47
&& runDeps="$( \
You can’t perform that action at this time.
0 commit comments