File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN set -ex \
3535 && rm python.tar.xz \
3636 \
3737 && cd /usr/src/python \
38- && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE )" \
38+ && gnuArch="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE )" \
3939 && ./configure \
4040 --build="$gnuArch" \
4141 --enable-shared \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN set -ex \
4141 && rm python.tar.xz \
4242 \
4343 && cd /usr/src/python \
44- && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE )" \
44+ && gnuArch="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE )" \
4545 && ./configure \
4646 --build="$gnuArch" \
4747 --enable-loadable-sqlite-extensions \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN set -ex \
4141 && rm python.tar.xz \
4242 \
4343 && cd /usr/src/python \
44- && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE )" \
44+ && gnuArch="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE )" \
4545 && ./configure \
4646 --build="$gnuArch" \
4747 --enable-loadable-sqlite-extensions \
Original file line number Diff line number Diff line change @@ -94,7 +94,11 @@ for version in "${versions[@]}"; do
9494 done
9595 if [ -d " $version /wheezy" ]; then
9696 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"
98102 fi
99103 fi
100104 (
You can’t perform that action at this time.
0 commit comments