Skip to content

Commit 98da50d

Browse files
committed
update ingestion as they are zipping the appimage now, show shm-size in readme
1 parent e2386e2 commit 98da50d

5 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/external_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
exit 0
112112
else
113113
assets=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/bambulab/BambuStudio/releases/tags/${EXT_RELEASE}" | jq -r '.assets[].browser_download_url')
114-
if grep -q "Bambu_Studio_linux_ubuntu-24.04" <<< "${assets}"; then
114+
if grep -q "BambuStudio_ubuntu-24.04" <<< "${assets}"; then
115115
artifacts_found="true"
116116
else
117117
artifacts_found="false"

Dockerfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,23 @@ RUN \
3333
gstreamer1.0-pulseaudio \
3434
libosmesa6 \
3535
libwebkit2gtk-4.1-0 \
36-
libwx-perl && \
36+
libwx-perl \
37+
unzip && \
3738
echo "**** install bambu studio from appimage ****" && \
3839
if [ -z ${BAMBUSTUDIO_VERSION+x} ]; then \
3940
BAMBUSTUDIO_VERSION=$(curl -sX GET "https://api.github.com/repos/bambulab/BambuStudio/releases/latest" \
4041
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
4142
fi && \
4243
RELEASE_URL=$(curl -sX GET "https://api.github.com/repos/bambulab/BambuStudio/releases/latest" | awk '/url/{print $4;exit}' FS='[""]') && \
43-
DOWNLOAD_URL=$(curl -sX GET "${RELEASE_URL}" | awk '/browser_download_url.*24.04/{print $4;exit}' FS='[""]') && \
44+
DOWNLOAD_URL=$(curl -sX GET "${RELEASE_URL}" | awk '/browser_download_url.*ubuntu-24.04/{print $4;exit}' FS='[""]') && \
4445
cd /tmp && \
4546
curl -o \
46-
/tmp/bambu.app -L \
47+
/tmp/bambu.zip -L \
4748
"${DOWNLOAD_URL}" && \
49+
unzip bambu.zip && \
50+
mv \
51+
*.AppImage \
52+
bambu.app && \
4853
chmod +x /tmp/bambu.app && \
4954
./bambu.app --appimage-extract && \
5055
mv squashfs-root /opt/bambustudio && \

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ services:
232232
ports:
233233
- 3000:3000
234234
- 3001:3001
235+
shm_size: "1gb" #optional
235236
restart: unless-stopped
236237
```
237238
@@ -248,6 +249,7 @@ docker run -d \
248249
-p 3000:3000 \
249250
-p 3001:3001 \
250251
-v /path/to/bambustudio/config:/config \
252+
--shm-size="1gb" `#optional` \
251253
--restart unless-stopped \
252254
lscr.io/linuxserver/bambustudio:latest
253255
```
@@ -265,6 +267,7 @@ Containers are configured using parameters passed at runtime (such as those abov
265267
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
266268
| `-e DARK_MODE=true` | Set this to true to enable dark mode for Bambu Studio. |
267269
| `-v /config` | Users home directory in the container, stores program settings and files. |
270+
| `--shm-size=` | We set this to 1 gig to prevent modern applications from crashing. |
268271
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. |
269272

270273
## Environment variables from files (Docker secrets)
@@ -429,6 +432,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
429432

430433
## Versions
431434

435+
* **31.08.25:** - Update AppImage ingestion.
432436
* **14.08.25:** - Rebase to Ubuntu Noble to ingest approved appimage.
433437
* **12.07.25:** - Rebase to Selkies, HTTPS IS NOW REQUIRED.
434438
* **29.07.24:** - Add required fonts and environment variable for dark mode.

jenkins-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ release_tag: latest
88
ls_branch: master
99
external_artifact_check: |
1010
assets=$(curl -u "${{ '{{' }} secrets.CR_USER {{ '}}' }}:${{ '{{' }} secrets.CR_PAT {{ '}}' }}" -sX GET "https://api.github.com/repos/bambulab/BambuStudio/releases/tags/${EXT_RELEASE}" | jq -r '.assets[].browser_download_url')
11-
if grep -q "Bambu_Studio_linux_ubuntu-24.04" <<< "${assets}"; then
11+
if grep -q "BambuStudio_ubuntu-24.04" <<< "${assets}"; then
1212
artifacts_found="true"
1313
else
1414
artifacts_found="false"

readme-vars.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ param_ports:
2929
opt_security_opt_param: true
3030
opt_security_opt_param_vars:
3131
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker."}
32+
opt_custom_params:
33+
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "We set this to 1 gig to prevent modern applications from crashing."}
3234
# Selkies blurb settings
3335
selkies_blurb: true
3436
show_nvidia: true
@@ -108,6 +110,7 @@ init_diagram: |
108110
"bambustudio:latest" <- Base Images
109111
# changelog
110112
changelogs:
113+
- {date: "31.08.25:", desc: "Update AppImage ingestion."}
111114
- {date: "14.08.25:", desc: "Rebase to Ubuntu Noble to ingest approved appimage."}
112115
- {date: "12.07.25:", desc: "Rebase to Selkies, HTTPS IS NOW REQUIRED."}
113116
- {date: "29.07.24:", desc: "Add required fonts and environment variable for dark mode."}

0 commit comments

Comments
 (0)