Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kasmweb/core-ubuntu-jammy:1.13.1
FROM kasmweb/core-ubuntu-noble:1.16.0
USER root

ENV HOME /home/kasm-default-profile
Expand All @@ -20,7 +20,7 @@ COPY ./requirements.yaml ./playbook.yaml ./
RUN ansible-galaxy install -r requirements.yaml && ansible-playbook -i,localhost playbook.yaml --tags "install_oshw_tools" && rm -f ./*.yaml

# Custom Desktop Background - replace bg_custom.png on disk with your own background image
COPY ./bg_custom.png /usr/share/extra/backgrounds/bg_default.png
COPY ./bg_custom.png /usr/share/backgrounds/bg_default.png

# Create .profile and set XFCE terminal to use it
RUN cp /etc/skel/.profile $HOME/.profile && mkdir $HOME/.config/xfce4/terminal/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Tetra Workspace (Kasm Image)

![Screenshot from 2022-11-28 17-33-05](https://user-images.githubusercontent.com/14095576/204409415-9cab4f7a-dfa1-456e-9fae-d512e7614429.png)
![screenshot-of-tetra-workspace-with-tetra-wallpaper](./screenshot-of-tetra-workspace-with-tetra-wallpaper.png)

## Introduction

This repo provides an Immutable-Infrastructure-as-Code (IIaC) workspace based on the [KASM Ubuntu Jammy Image](https://hub.docker.com/r/kasmweb/core-ubuntu-jammy) for Tetra Bio Distributed's medical/PPE open-source hardware (OSHW) development. The workspace is configured with the following software:
This repo provides an Immutable-Infrastructure-as-Code (IIaC) workspace based on the [KASM Ubuntu Noble Image](https://hub.docker.com/r/kasmweb/core-ubuntu-noble) for Tetra Bio Distributed's medical/PPE open-source hardware (OSHW) development. The workspace is configured with the following software:

- Utilities
- [git](https://git-scm.com/) 2.42.0
Expand Down
15 changes: 10 additions & 5 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,16 +258,21 @@
tasks:
- name: Join parts of PrusaSlicer tarball
shell: cat /home/kasm-default-profile/install_files/{{ prusaslicer_dir }}.tar.bz2.parta* > /home/kasm-default-profile/install_files/{{ prusaslicer_dir }}.tar.bz2
- name: Create prusa directory
file:
path: /opt/prusa-slicer
state: directory
mode: '0755'
- name: Extract PrusaSlicer for 64-bit Linux to /opt
unarchive:
src: /home/kasm-default-profile/install_files/{{ prusaslicer_dir }}.tar.bz2
dest: /opt
dest: /opt/prusa-slicer
remote_src: yes
creates: /opt/{{ prusaslicer_dir }}/bin/prusa-slicer
creates: /opt/prusa-slicer/{{ prusaslicer_dir }}/bin/prusa-slicer
- name: Create symlink for prusa-slicer in /usr/local/bin
shell: ln -srv /opt/{{ prusaslicer_dir }}/bin/prusa-slicer /usr/local/bin/prusa-slicer
shell: ln -sv /opt/prusa-slicer/{{ prusaslicer_dir }}/bin/prusa-slicer /usr/local/bin/prusa-slicer
- name: Configure PrusaSlicer desktop shortcut
shell: echo "[Desktop Entry]\nName=PrusaSlicer\nGenericName=PrusaSlicer\nExec=/usr/local/bin/prusa-slicer\nIcon=/opt/{{ prusaslicer_dir }}/resources/icons/PrusaSlicer.png\nTerminal=false\nType=Application\nStartupNotify=false\nCategories=Application;Development;" > /usr/share/applications/prusaslicer.desktop
shell: echo "[Desktop Entry]\nName=PrusaSlicer\nGenericName=PrusaSlicer\nExec=/usr/local/bin/prusa-slicer\nIcon=/opt/prusa-slicer/{{ prusaslicer_dir }}/resources/icons/PrusaSlicer.png\nTerminal=false\nType=Application\nStartupNotify=false\nCategories=Application;Development;" > /usr/share/applications/prusaslicer.desktop
- name: Get prusa-slicer version
shell: prusa-slicer --help | grep PrusaSlicer- | awk '{ print $1 '}
register: installed_prusaslicer_version
Expand Down Expand Up @@ -530,7 +535,7 @@
git_version: "2.43.0"
git_version_to_install: "1:{{ git_version }}-0ppa1~ubuntu22.04.1"
keychain_version: "2.8.5"
keychain_version_to_install: "{{ keychain_version }}-2"
keychain_version_to_install: "{{ keychain_version }}-4"
keychain_version_expected: "{{ keychain_version }}.."

tasks:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.