Skip to content

Commit

Permalink
Merge pull request #2 from Mach30/noble-experiment
Browse files Browse the repository at this point in the history
Migrate Ubuntu to Noble Numbat
  • Loading branch information
j-simmons-phd authored Nov 5, 2024
2 parents 926774d + b487b62 commit ea56681
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/j-simmons-phd/kasm-core-ubuntu-focal:develop
FROM kasmweb/core-ubuntu-noble:1.16.0
USER root

ENV HOME /home/kasm-default-profile
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## Introduction

This repo provides a workspace for Mach 30 volunteers to work on Python projects based on the [Ansible based template for KASM Ubuntu Focal Images](https://github.com/j-simmons-phd/kasm-core-focal-template) template provided by @j-simmons-phd. The workspace is configured with the following software:
This repo provides a workspace for Mach 30 volunteers to work on Python projects based on the [Ansible based template for KASM Ubuntu Focal Images](https://github.com/j-simmons-phd/kasm-core-focal-template) template provided by @j-simmons-phd and upgraded to Ubuntu Noble Numbat manually. The workspace is configured with the following software:

- git cli
- [Keychain](https://www.funtoo.org/Keychain)
- git cli 2.47.0
- [Keychain](https://www.funtoo.org/Keychain) 2.8.5
- Chrome
- Python 3.8.x (part of the image template) with the following packages (not part of the image template)
- Python 3.12.x (part of the image template) with the following packages (not part of the image template)
- pip
- [JupyterLab](https://jupyter.org/)
- [Jupyter Notebook](https://jupyter.org/)
Expand Down
15 changes: 9 additions & 6 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
tags: install_git_keychain

vars:
git_version: "2.35.1"
git_version_to_install: "1:{{ git_version }}-0ppa1~ubuntu20.04.1"
git_version: "2.47.0"
git_version_to_install: "1:{{ git_version }}-0ppa2~ubuntu24.04.1"
keychain_version: "2.8.5"
keychain_version_to_install: "{{ keychain_version }}-1"
keychain_version_to_install: "{{ keychain_version }}-4"
keychain_version_expected: "{{ keychain_version }}.."

tasks:
Expand Down Expand Up @@ -114,16 +114,19 @@
apt:
name: python-is-python3
update_cache: yes
- name: Install pip for python3 with Apt
apt:
name: python3-pip
update_cache: yes
- name: Install python packages with pip
pip:
break_system_packages: true
name:
- jupyterlab
- notebook
- voila
- pint

roles:
- role: geerlingguy.pip

-
# install sudo for the vs-code role below
Expand All @@ -148,7 +151,7 @@
- name: Add dev user
user:
name: dev
uid: 1001
uid: 1002

-
# install the remainder of the tools
Expand Down
1 change: 0 additions & 1 deletion requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
# Add Ansible Galaxy Packages here, role_example_hello included to prevent errors in template testing
- irixjp.role_example_hello # https://galaxy.ansible.com/irixjp/role_example_hello
- webarchitect609.google_chrome # https://galaxy.ansible.com/webarchitect609/google_chrome
- geerlingguy.pip # https://galaxy.ansible.com/geerlingguy/pip
- gantsign.visual-studio-code # https://galaxy.ansible.com/gantsign/visual-studio-code
...

0 comments on commit ea56681

Please sign in to comment.