Skip to content

Commit c7a2bf9

Browse files
alielhoh
authored andcommitted
Runtimes: Update locale settings to en_US UTF-8
1 parent 72ee741 commit c7a2bf9

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

runtimes/aleph-debian-11-python/create_disk_image.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ apt-get install -y --no-install-recommends --no-install-suggests \
2626
docker.io \
2727
cgroupfs-mount \
2828
nftables \
29-
iputils-ping curl
29+
iputils-ping curl \
30+
locales
31+
32+
# Update locale settings to en_US UTF-8
33+
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
34+
locale-gen en_US.UTF-8
3035
3136
pip3 install 'fastapi~=0.103.1'
3237

runtimes/aleph-debian-12-python/create_disk_image.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ apt-get install -y --no-install-recommends --no-install-suggests \
2727
docker.io \
2828
cgroupfs-mount \
2929
nftables \
30-
iputils-ping curl
30+
iputils-ping curl \
31+
locales
32+
33+
# Update locale settings to en_US UTF-8
34+
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
35+
locale-gen en_US.UTF-8
3136
3237
echo "Pip installing aleph-sdk-python"
3338
mkdir -p /opt/aleph/libs

0 commit comments

Comments
 (0)