Skip to content

Commit 31a20c2

Browse files
authored
Add LC_ALL environment variable for encoding fix
Set the LC_ALL environment variable to resolve character encoding issues.
1 parent 189aa5c commit 31a20c2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ ENV CMAKE_BIN_PATH=${ANDROID_HOME}/cmake/$CMAKE_VERSION/bin
2525

2626
ENV PATH=${CMAKE_BIN_PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/emulator:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${PATH}
2727

28+
# Set the encoding to resolve a known character encoding issue with decompressing tar.gz files in containers
29+
# via Gradle: https://github.com/gradle/gradle/issues/23391#issuecomment-1878979127
30+
ENV LC_ALL=C.UTF8
31+
2832
# Install system dependencies
2933
RUN apt update -qq && apt install -qq -y --no-install-recommends \
3034
apt-transport-https \

0 commit comments

Comments
 (0)