Skip to content

Commit

Permalink
feat: ✨ Add FBX2GLTF & some minor basic packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Hobart2967 committed Apr 29, 2024
1 parent 66b7d6f commit dabae74
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
adb \
openjdk-17-jdk-headless \
rsync \
make \
curl \
&& rm -rf /var/lib/apt/lists/*

ARG GODOT_VERSION="4.2.1"
ARG GODOT_VERSION="4.2.2"
ARG RELEASE_NAME="stable"
ARG SUBDIR=""
ARG GODOT_TEST_ARGS=""
Expand Down Expand Up @@ -62,3 +64,13 @@ RUN echo 'export/android/debug_keystore_pass = "android"' >> ~/.config/godot/edi
RUN echo 'export/android/force_system_user = false' >> ~/.config/godot/editor_settings-4.tres
RUN echo 'export/android/timestamping_authority_url = ""' >> ~/.config/godot/editor_settings-4.tres
RUN echo 'export/android/shutdown_adb_on_exit = true' >> ~/.config/godot/editor_settings-4.tres

#region FBX GLTF
RUN cd /root/
RUN wget https://github.com/godotengine/FBX2glTF/releases/latest/download/FBX2glTF-linux-x86_64.zip -O /root/FBX2glTF-linux-x86_64.zip
RUN unzip /root/FBX2glTF-linux-x86_64.zip
RUN rm -rf /root/FBX2glTF-linux-x86_64.zip
RUN godot --headless --quit
RUN sed -i -e 's@filesystem/import/fbx/fbx2gltf_path = ""@filesystem/import/fbx/fbx2gltf_path = "/root/FBX2glTF-linux-x86_64/FBX2glTF-linux-x86_64"@g' \
/root/.config/godot/editor_settings-4.tres
#endregion
19 changes: 19 additions & 0 deletions mono.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
zip \
rsync \
make \
curl \
&& rm -rf /var/lib/apt/lists/*

# When in doubt see the downloads page
Expand Down Expand Up @@ -48,3 +50,20 @@ RUN bash /opt/butler/getbutler.sh
RUN /opt/butler/bin/butler -V

ENV PATH="/opt/butler/bin:${PATH}"

#region .NET Installation
RUN . /etc/os-release && wget https://packages.microsoft.com/config/$ID/$VERSION_ID/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb
RUN apt update
RUN apt install -y dotnet-sdk-6.0 dotnet-sdk-7.0 dotnet-sdk-8.0
#endregion

#region FBX GLTF
RUN cd /root/
RUN wget https://github.com/godotengine/FBX2glTF/releases/latest/download/FBX2glTF-linux-x86_64.zip -O /root/FBX2glTF-linux-x86_64.zip
RUN unzip /root/FBX2glTF-linux-x86_64.zip
RUN rm -rf /root/FBX2glTF-linux-x86_64.zip
RUN godot --headless --quit
RUN sed -i -e 's@filesystem/import/fbx/fbx2gltf_path = ""@filesystem/import/fbx/fbx2gltf_path = "/root/FBX2glTF-linux-x86_64/FBX2glTF-linux-x86_64"@g' \
/root/.config/godot/editor_settings-4.tres
#endregion

0 comments on commit dabae74

Please sign in to comment.