Skip to content

Commit

Permalink
Runtimes: Update locale settings to en_US UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
aliel authored and hoh committed Mar 6, 2024
1 parent 72ee741 commit c7a2bf9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion runtimes/aleph-debian-11-python/create_disk_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ apt-get install -y --no-install-recommends --no-install-suggests \
docker.io \
cgroupfs-mount \
nftables \
iputils-ping curl
iputils-ping curl \
locales
# Update locale settings to en_US UTF-8
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
locale-gen en_US.UTF-8
pip3 install 'fastapi~=0.103.1'
Expand Down
7 changes: 6 additions & 1 deletion runtimes/aleph-debian-12-python/create_disk_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ apt-get install -y --no-install-recommends --no-install-suggests \
docker.io \
cgroupfs-mount \
nftables \
iputils-ping curl
iputils-ping curl \
locales
# Update locale settings to en_US UTF-8
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
locale-gen en_US.UTF-8
echo "Pip installing aleph-sdk-python"
mkdir -p /opt/aleph/libs
Expand Down

0 comments on commit c7a2bf9

Please sign in to comment.