Skip to content

Commit

Permalink
4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cuong0993 committed Aug 16, 2024
1 parent a86679c commit 660dd17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /files

RUN apk add -U unzip

ARG GODOT_VERSION="4.2.2"
ARG GODOT_VERSION="4.3"
ARG RELEASE_NAME="stable"

RUN wget -O /tmp/godot.zip https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-${RELEASE_NAME}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_linux_x86_64.zip
Expand All @@ -22,7 +22,7 @@ RUN wget -O /tmp/android_sdk.zip https://dl.google.com/android/repository/comman
RUN unzip /tmp/android_sdk.zip -d /tmp/android_sdk
RUN mv /tmp/android_sdk/* /files

FROM mcr.microsoft.com/dotnet/sdk:8.0.203-jammy-amd64
FROM mcr.microsoft.com/dotnet/sdk:8.0.401-jammy-amd64

USER root

Expand All @@ -39,5 +39,5 @@ RUN yes | /opt/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses
RUN /opt/android-sdk/cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-$ANDROID_COMPILE_SDK" "build-tools;${ANDROID_BUILD_TOOLS}"

RUN godot -v -e --quit --headless \
&& echo 'export/android/android_sdk_path = "/opt/android-sdk"' >> ~/.config/godot/editor_settings-4.tres \
&& echo 'export/android/java_sdk_path = "/usr"' >> ~/.config/godot/editor_settings-4.tres
&& echo 'export/android/android_sdk_path = "/opt/android-sdk"' >> ~/.config/godot/editor_settings-4.3.tres \
&& echo 'export/android/java_sdk_path = "/usr"' >> ~/.config/godot/editor_settings-4.3.tres

0 comments on commit 660dd17

Please sign in to comment.