summaryrefslogtreecommitdiff
path: root/docker/android-sdk.dockerfile
diff options
context:
space:
mode:
authoraguestuser <aguestuser@risup.net>2017-04-30 15:35:42 -0400
committeraguestuser <aguestuser@risup.net>2017-04-30 20:05:44 -0400
commit7ed71d793c24b0b074cf61a85ea96c45c21f07f1 (patch)
tree66db2df6f201031e77f6bd0ee39e9152ca63de83 /docker/android-sdk.dockerfile
parentd1594edf30c4d6f171682b527ebffbb489d6481b (diff)
[ag] generate all locales in android-sdk dockerfile to pass build
Diffstat (limited to 'docker/android-sdk.dockerfile')
-rw-r--r--docker/android-sdk.dockerfile11
1 files changed, 9 insertions, 2 deletions
diff --git a/docker/android-sdk.dockerfile b/docker/android-sdk.dockerfile
index 468546cf..753ac6a9 100644
--- a/docker/android-sdk.dockerfile
+++ b/docker/android-sdk.dockerfile
@@ -18,9 +18,16 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
# ndk dependencies
make gcc file lib32stdc++6 lib32z1 # (incl. 32-bit compatible versions)
-# Set Locale
-RUN locale-gen en_US.UTF-8
+# ------------------------------------------------------
+# --- Set Locales
+
+# Generate All Locales
+RUN cp /usr/share/i18n/SUPPORTED /etc/locale.gen
+RUN locale-gen
+
+# Set Default Locale
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
+ENV LANG en_US.UTF-8
# ------------------------------------------------------
# --- Install Android SDK Tools