File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN set -ex \
35
35
&& rm python.tar.xz \
36
36
\
37
37
&& cd /usr/src/python \
38
- && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE )" \
38
+ && gnuArch="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE )" \
39
39
&& ./configure \
40
40
--build="$gnuArch" \
41
41
--enable-shared \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN set -ex \
41
41
&& rm python.tar.xz \
42
42
\
43
43
&& cd /usr/src/python \
44
- && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE )" \
44
+ && gnuArch="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE )" \
45
45
&& ./configure \
46
46
--build="$gnuArch" \
47
47
--enable-loadable-sqlite-extensions \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN set -ex \
41
41
&& rm python.tar.xz \
42
42
\
43
43
&& cd /usr/src/python \
44
- && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE )" \
44
+ && gnuArch="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE )" \
45
45
&& ./configure \
46
46
--build="$gnuArch" \
47
47
--enable-loadable-sqlite-extensions \
Original file line number Diff line number Diff line change @@ -94,7 +94,11 @@ for version in "${versions[@]}"; do
94
94
done
95
95
if [ -d " $version /wheezy" ]; then
96
96
cp " $version /Dockerfile" " $version /wheezy/Dockerfile"
97
- sed -ri ' s/:jessie/:wheezy/g' " $version /wheezy/Dockerfile"
97
+ # wheezy-only: dpkg-architecture: unknown option `--query'
98
+ sed -ri \
99
+ -e ' s/:jessie/:wheezy/g' \
100
+ -e ' s/dpkg-architecture --query /dpkg-architecture -q/g' \
101
+ " $version /wheezy/Dockerfile"
98
102
fi
99
103
fi
100
104
(
You can’t perform that action at this time.
0 commit comments