Skip to content

Commit 542719b

Browse files
author
Hans Kristian Flaatten
committed
Configure Python with --enable-unicode=ucs4
Bulk update all Dockerfiles with the following command: ```bash find . -name 'Dockerfile' | xargs sed -i '' 's/--enable-shared/--enable-shared --enable-unicode=ucs4/g' ```
1 parent 1fc7717 commit 542719b

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

2.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -x \
2020
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2121
&& rm python.tar.xz* \
2222
&& cd /usr/src/python \
23-
&& ./configure --enable-shared \
23+
&& ./configure --enable-shared --enable-unicode=ucs4 \
2424
&& make -j$(nproc) \
2525
&& make install \
2626
&& ldconfig \

2.7/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN set -x \
2828
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2929
&& rm python.tar.xz* \
3030
&& cd /usr/src/python \
31-
&& ./configure --enable-shared \
31+
&& ./configure --enable-shared --enable-unicode=ucs4 \
3232
&& make -j$(nproc) \
3333
&& make install \
3434
&& ldconfig \

2.7/wheezy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -x \
2020
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2121
&& rm python.tar.xz* \
2222
&& cd /usr/src/python \
23-
&& ./configure --enable-shared \
23+
&& ./configure --enable-shared --enable-unicode=ucs4 \
2424
&& make -j$(nproc) \
2525
&& make install \
2626
&& ldconfig \

3.3/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -x \
2020
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2121
&& rm python.tar.xz* \
2222
&& cd /usr/src/python \
23-
&& ./configure --enable-shared \
23+
&& ./configure --enable-shared --enable-unicode=ucs4 \
2424
&& make -j$(nproc) \
2525
&& make install \
2626
&& ldconfig \

3.3/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN set -x \
2828
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2929
&& rm python.tar.xz* \
3030
&& cd /usr/src/python \
31-
&& ./configure --enable-shared \
31+
&& ./configure --enable-shared --enable-unicode=ucs4 \
3232
&& make -j$(nproc) \
3333
&& make install \
3434
&& ldconfig \

3.3/wheezy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -x \
2020
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2121
&& rm python.tar.xz* \
2222
&& cd /usr/src/python \
23-
&& ./configure --enable-shared \
23+
&& ./configure --enable-shared --enable-unicode=ucs4 \
2424
&& make -j$(nproc) \
2525
&& make install \
2626
&& ldconfig \

3.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -x \
2020
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2121
&& rm python.tar.xz* \
2222
&& cd /usr/src/python \
23-
&& ./configure --enable-shared \
23+
&& ./configure --enable-shared --enable-unicode=ucs4 \
2424
&& make -j$(nproc) \
2525
&& make install \
2626
&& ldconfig \

3.4/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN set -x \
2828
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2929
&& rm python.tar.xz* \
3030
&& cd /usr/src/python \
31-
&& ./configure --enable-shared \
31+
&& ./configure --enable-shared --enable-unicode=ucs4 \
3232
&& make -j$(nproc) \
3333
&& make install \
3434
&& ldconfig \

3.4/wheezy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN set -x \
2020
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
2121
&& rm python.tar.xz* \
2222
&& cd /usr/src/python \
23-
&& ./configure --enable-shared \
23+
&& ./configure --enable-shared --enable-unicode=ucs4 \
2424
&& make -j$(nproc) \
2525
&& make install \
2626
&& ldconfig \

0 commit comments

Comments
 (0)