Skip to content

Commit 7088c42

Browse files
committed
feat: Update version.
1 parent afc0c7f commit 7088c42

File tree

3 files changed

+11
-33
lines changed

3 files changed

+11
-33
lines changed

docker/editor-server/Dockerfile

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG CODE_SERVER_VERSION=4.16.1
1+
ARG CODE_SERVER_VERSION=4.19.0
22
FROM ghcr.io/gsmlg/code-server:v$CODE_SERVER_VERSION
33

44
ENV CODE_SERVER_VERSION=$CODE_SERVER_VERSION
@@ -79,15 +79,11 @@ RUN git clone https://github.com/asdf-vm/asdf.git $ASDF_DIR --branch v0.12.0 \
7979
&& echo "source $ASDF_DIR/asdf.sh" | tee -a "/etc/zsh/zshrc"
8080

8181
# install erlang and elixir
82-
RUN bash -c "source $ASDF_DIR/asdf.sh \
83-
&& asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git \
84-
&& asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir.git \
85-
&& asdf install erlang 26.0 \
86-
&& asdf install elixir 1.15.4-otp-26 \
87-
&& asdf global erlang 26.0 \
88-
&& asdf global elixir 1.15.4-otp-26 \
89-
&& mix local.hex --force \
90-
&& mix local.rebar --force"
82+
RUN curl -sSLf https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb -o /tmp/erlang-solutions_2.0_all.deb \
83+
&& dpkg -i /tmp/erlang-solutions_2.0_all.deb \
84+
&& apt-get update \
85+
&& apt-get install -y esl-erlang \
86+
&& apt-get install -y elixir
9187

9288
# install jdk
9389
ARG ANTLR_VERSION=4.12.0
@@ -101,7 +97,7 @@ RUN apt-get install -y -qq default-jdk \
10197
&& chmod +x /usr/local/bin/grun
10298

10399
# install nodejs
104-
ARG NODEJS_VERSION=18
100+
ARG NODEJS_VERSION=20
105101
ENV NODE_PATH=/usr/lib/node_modules
106102
RUN curl -sL https://deb.nodesource.com/setup_${NODEJS_VERSION}.x | bash - \
107103
&& apt-get install -y -qq nodejs \
@@ -117,7 +113,7 @@ RUN curl -sL https://deb.nodesource.com/setup_${NODEJS_VERSION}.x | bash - \
117113
&& /usr/bin/node /usr/lib/node_modules/@openapitools/openapi-generator-cli/main.js version
118114

119115
# install golang
120-
ARG GO_VERSION=1.20.7
116+
ARG GO_VERSION=1.21.4
121117
ARG GO111MODULE=on
122118
ARG GOPATH=/opt/go
123119
ENV GOPATH=$GOPATH
@@ -190,7 +186,7 @@ RUN apt-get install -y -qq ruby-full && gem install bundler jekyll jekyll-remote
190186
ARG PUB_CACHE=/opt/flutter/.pub
191187
ENV PUB_CACHE=/opt/flutter/.pub
192188
RUN apt-get install -y -qq clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libglu1-mesa \
193-
&& aria2c -o flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.10.6-stable.tar.xz \
189+
&& aria2c -o flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.13.9-stable.tar.xz \
194190
&& tar xf flutter.tar.xz -C /opt \
195191
&& echo 'export PATH="/opt/flutter/bin:$PATH"' | tee -a "/etc/zsh/zshrc" \
196192
&& echo 'export PATH="$PATH":"/opt/flutter/.pub/bin"' | tee -a "/etc/zsh/zshrc" \
@@ -222,24 +218,6 @@ RUN export ARCH=`dpkg --print-architecture`; \
222218
&& curl -sSfL https://github.com/gsmlg-dev/gsmlg-cli/releases/latest/download/gsmlg-cli_linux_${ARCH} -o /usr/local/bin/gsmlg-cli \
223219
&& chmod +x /usr/local/bin/gsmlg-cli
224220

225-
# install terraform
226-
RUN export TARGET_DIR=/tmp/terraform \
227-
&& git clone https://github.com/hashicorp/terraform.git $TARGET_DIR \
228-
&& cd $TARGET_DIR && /usr/local/go/bin/go install \
229-
&& chown -R coder:coder "${GOPATH}"
230-
231-
# install android sdk
232-
ARG ANDROID_SDK_ROOT=/opt/android-sdk
233-
ENV ANDROID_SDK_ROOT=/opt/android-sdk
234-
RUN mkdir -p $ANDROID_SDK_ROOT \
235-
&& cd $ANDROID_SDK_ROOT \
236-
&& curl -sSfL https://dl.google.com/android/repository/commandlinetools-linux-10406996_latest.zip -o /tmp/cmdlinetools.zip \
237-
&& unzip /tmp/cmdlinetools.zip \
238-
&& yes | cmdline-tools/bin/sdkmanager --licenses --sdk_root=$ANDROID_SDK_ROOT \
239-
&& echo 'export PATH=$PATH:$ANDROID_SDK_ROOT/cmdline-tools/bin:$ANDROID_SDK_ROOT/platform-tools' | tee -a "/etc/zsh/zshrc" \
240-
&& yes | cmdline-tools/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install 'cmdline-tools;latest' 'platform-tools' 'platforms;android-32' 'build-tools;32.0.0' \
241-
&& yes | /opt/flutter/bin/flutter doctor --android-licenses
242-
243221
# change permision
244222
RUN chown -R coder:coder /opt
245223

docker/editor-server/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG CODE_SERVER_VERSION=4.16.1
1+
ARG CODE_SERVER_VERSION=4.19.0
22
FROM ghcr.io/gsmlg/code-server:v${CODE_SERVER_VERSION}-alpine
33

44
ENV CODE_SERVER_VERSION=$CODE_SERVER_VERSION

docker/editor-server/Dockerfile.arch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG CODE_SERVER_VERSION=4.16.1
1+
ARG CODE_SERVER_VERSION=4.19.0
22
FROM ghcr.io/gsmlg/code-server:v${CODE_SERVER_VERSION}-arch
33

44
ARG ARCH=amd64

0 commit comments

Comments
 (0)