Skip to content

Commit 9dfc1c7

Browse files
committed
fix(editor-server): Fix archlinux.
1 parent 80df49f commit 9dfc1c7

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

docker/editor-server/Dockerfile.arch

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN pacman -S --noconfirm \
4747
ARG LANG=en_US.UTF-8
4848
ENV LANG=$LANG
4949
ENV LC_ALL=$LANG
50-
RUN locale-gen && echo "LANG=$LANG" | tee /etc/locale.conf
50+
RUN locale-gen
5151

5252
# install nodejs
5353
ARG NODE_PATH=/usr/lib/node_modules
@@ -118,18 +118,6 @@ RUN export ARCH=amd64; \
118118
# install terraform
119119
RUN pacman -Syyu --noconfirm terraform
120120

121-
# install android sdk
122-
ARG ANDROID_SDK_ROOT=/opt/android-sdk
123-
ENV ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT
124-
RUN mkdir -p $ANDROID_SDK_ROOT \
125-
&& cd $ANDROID_SDK_ROOT \
126-
&& curl -sSfL https://dl.google.com/android/repository/commandlinetools-linux-10406996_latest.zip -o /tmp/cmdlinetools.zip \
127-
&& unzip /tmp/cmdlinetools.zip \
128-
&& yes | cmdline-tools/bin/sdkmanager --licenses --sdk_root=$ANDROID_SDK_ROOT \
129-
&& echo 'export PATH=$PATH:$ANDROID_SDK_ROOT/cmdline-tools/bin:$ANDROID_SDK_ROOT/platform-tools' | tee -a "/etc/zsh/zshrc" \
130-
&& yes | cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install 'cmdline-tools;latest' 'platform-tools' 'platforms;android-32' 'build-tools;32.0.0' \
131-
&& yes | flutter doctor --android-licenses
132-
133121
# install gsmlg-cli
134122
RUN export ARCH=amd64; \
135123
&& curl -sSfL https://github.com/gsmlg-dev/gsmlg-cli/releases/latest/download/gsmlg-cli_linux_${ARCH} -o /usr/local/bin/gsmlg-cli \

0 commit comments

Comments
 (0)