Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Godot Builder
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Weird Boi Games
Godot Builder
Commits
47c7104e
Verified
Commit
47c7104e
authored
4 months ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Include rust, emscripten, wasm toolchain
parent
f1ea3b02
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+14
-3
14 additions, 3 deletions
Dockerfile
README.md
+4
-1
4 additions, 1 deletion
README.md
commands/emsdk_install.sh
+11
-0
11 additions, 0 deletions
commands/emsdk_install.sh
with
29 additions
and
4 deletions
Dockerfile
+
14
−
3
View file @
47c7104e
FROM
debian:12.8-slim
FROM
cr.weirdboi.dev/base/rust:1-82-node-22
ARG
PLATFORM="linux.x86_64"
ARG
GODOT_VERSION="4.3-stable"
ARG
BUTLER_VERSION="15.12.0"
RUN
apt-get update
\
&&
apt-get
install
-y
wget zip unzip
libfontconfig1
\
&&
apt-get
install
-y
git
libfontconfig1
\
&&
rm
-rf
/var/lib/apt/lists/
*
COPY
commands/godot_build.sh /usr/bin/godot_build
...
...
@@ -16,6 +16,17 @@ COPY commands/godot_project_title.sh /usr/bin/godot_project_title
COPY
commands/butler_install.sh /usr/bin/butler_install
COPY
commands/butler_upload.sh /usr/bin/butler_upload
COPY
commands/emsdk_install.sh /usr/bin/emsdk_install
RUN
rustup component add rust-src
--toolchain
nightly
&&
\
rustup target add wasm32-unknown-emscripten
--toolchain
nightly
RUN
chmod
+x /usr/bin/godot_
*
/usr/bin/butler_
*
RUN
godot_install
$GODOT_VERSION
$PLATFORM
RUN
butler_install
$BUTLER_VERSION
\ No newline at end of file
RUN
butler_install
$BUTLER_VERSION
ENV
EMSDK=/usr/bin/emsdk
RUN
emsdk_install
"
${
EMSDK
}
"
ENV
EMSDK_NODE="${EMSDK}/node/20.18.0_64bit/bin/node"
ENV
PATH="${EMSDK}:${EMSDK}/upstream/emscripten:${PATH}"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
4
−
1
View file @
47c7104e
## Godot Builder
A base debian image, configured with tools and helpers required to build godot games in CI
A base debian image, configured with tools and helpers required to build godot games in CI.
Additionally includes all tools & dependencies to build web content with Node, and Rust extensions
with Rust & emscripten
### Commands
...
...
This diff is collapsed.
Click to expand it.
commands/emsdk_install.sh
0 → 100755
+
11
−
0
View file @
47c7104e
#!/usr/bin/env bash
INSTALL_DIR
=
"
$1
"
FULL_DIR
=
"
$INSTALL_DIR
/emsdk"
mkdir
-p
"
$FULL_DIR
"
git clone https://github.com/emscripten-core/emsdk.git
"
$FULL_DIR
"
cd
"
$FULL_DIR
"
"
$FULL_DIR
/emsdk"
install
3.1.62
"
$FULL_DIR
/emsdk"
activate 3.1.62
source
"
$FULL_DIR
/emsdk.sh"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment