diff --git a/.github/workflows/external_trigger.yml b/.github/workflows/external_trigger.yml index 5cc0d9f..f9d8a02 100644 --- a/.github/workflows/external_trigger.yml +++ b/.github/workflows/external_trigger.yml @@ -111,7 +111,7 @@ jobs: exit 0 else 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') - if grep -q "Bambu_Studio_linux_ubuntu-24.04" <<< "${assets}"; then + if grep -q "BambuStudio_ubuntu-24.04" <<< "${assets}"; then artifacts_found="true" else artifacts_found="false" diff --git a/Dockerfile b/Dockerfile index 0b9a865..7b6edd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,18 +33,23 @@ RUN \ gstreamer1.0-pulseaudio \ libosmesa6 \ libwebkit2gtk-4.1-0 \ - libwx-perl && \ + libwx-perl \ + unzip && \ echo "**** install bambu studio from appimage ****" && \ if [ -z ${BAMBUSTUDIO_VERSION+x} ]; then \ BAMBUSTUDIO_VERSION=$(curl -sX GET "https://api.github.com/repos/bambulab/BambuStudio/releases/latest" \ | awk '/tag_name/{print $4;exit}' FS='[""]'); \ fi && \ RELEASE_URL=$(curl -sX GET "https://api.github.com/repos/bambulab/BambuStudio/releases/latest" | awk '/url/{print $4;exit}' FS='[""]') && \ - DOWNLOAD_URL=$(curl -sX GET "${RELEASE_URL}" | awk '/browser_download_url.*24.04/{print $4;exit}' FS='[""]') && \ + DOWNLOAD_URL=$(curl -sX GET "${RELEASE_URL}" | awk '/browser_download_url.*ubuntu-24.04/{print $4;exit}' FS='[""]') && \ cd /tmp && \ curl -o \ - /tmp/bambu.app -L \ + /tmp/bambu.zip -L \ "${DOWNLOAD_URL}" && \ + unzip bambu.zip && \ + mv \ + *.AppImage \ + bambu.app && \ chmod +x /tmp/bambu.app && \ ./bambu.app --appimage-extract && \ mv squashfs-root /opt/bambustudio && \ diff --git a/README.md b/README.md index 4cff075..d83e702 100644 --- a/README.md +++ b/README.md @@ -232,6 +232,7 @@ services: ports: - 3000:3000 - 3001:3001 + shm_size: "1gb" #optional restart: unless-stopped ``` @@ -248,6 +249,7 @@ docker run -d \ -p 3000:3000 \ -p 3001:3001 \ -v /path/to/bambustudio/config:/config \ + --shm-size="1gb" `#optional` \ --restart unless-stopped \ lscr.io/linuxserver/bambustudio:latest ``` @@ -265,6 +267,7 @@ Containers are configured using parameters passed at runtime (such as those abov | `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). | | `-e DARK_MODE=true` | Set this to true to enable dark mode for Bambu Studio. | | `-v /config` | Users home directory in the container, stores program settings and files. | +| `--shm-size=` | We set this to 1 gig to prevent modern applications from crashing. | | `--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. | ## Environment variables from files (Docker secrets) @@ -429,6 +432,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **31.08.25:** - Update AppImage ingestion. * **14.08.25:** - Rebase to Ubuntu Noble to ingest approved appimage. * **12.07.25:** - Rebase to Selkies, HTTPS IS NOW REQUIRED. * **29.07.24:** - Add required fonts and environment variable for dark mode. diff --git a/jenkins-vars.yml b/jenkins-vars.yml index 21f3c3e..0419d5e 100644 --- a/jenkins-vars.yml +++ b/jenkins-vars.yml @@ -8,7 +8,7 @@ release_tag: latest ls_branch: master external_artifact_check: | 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') - if grep -q "Bambu_Studio_linux_ubuntu-24.04" <<< "${assets}"; then + if grep -q "BambuStudio_ubuntu-24.04" <<< "${assets}"; then artifacts_found="true" else artifacts_found="false" diff --git a/readme-vars.yml b/readme-vars.yml index 9a80622..e35292f 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -29,6 +29,8 @@ param_ports: opt_security_opt_param: true opt_security_opt_param_vars: - {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."} +opt_custom_params: + - {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "We set this to 1 gig to prevent modern applications from crashing."} # Selkies blurb settings selkies_blurb: true show_nvidia: true @@ -108,6 +110,7 @@ init_diagram: | "bambustudio:latest" <- Base Images # changelog changelogs: + - {date: "31.08.25:", desc: "Update AppImage ingestion."} - {date: "14.08.25:", desc: "Rebase to Ubuntu Noble to ingest approved appimage."} - {date: "12.07.25:", desc: "Rebase to Selkies, HTTPS IS NOW REQUIRED."} - {date: "29.07.24:", desc: "Add required fonts and environment variable for dark mode."}