Skip to content

Commit f549683

Browse files
authored
Merge pull request #89 from linuxserver/1.17.0
2 parents 398190b + 5b752d1 commit f549683

File tree

8 files changed

+36
-70
lines changed

8 files changed

+36
-70
lines changed

.github/workflows/call_issue_pr_tracker.yml

100755100644
File mode changed.

.github/workflows/call_issues_cron.yml

100755100644
File mode changed.

Dockerfile

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
3+
FROM ghcr.io/linuxserver/baseimage-ubuntu:noble
44

55
# set version label
66
ARG BUILD_DATE
@@ -21,43 +21,33 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,graphics,video,utility" \
2121
RUN \
2222
echo "**** install packages ****" && \
2323
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
24-
echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu jammy stable" > \
24+
echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu noble stable" > \
2525
/etc/apt/sources.list.d/docker.list && \
26-
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | \
27-
gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && \
28-
curl -s -L https://nvidia.github.io/libnvidia-container/ubuntu22.04/libnvidia-container.list | \
29-
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
30-
tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && \
31-
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
26+
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
27+
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
28+
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
29+
tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && \
30+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
3231
apt-get install -y --no-install-recommends \
3332
btrfs-progs \
33+
build-essential \
3434
containerd.io \
3535
docker-ce \
3636
docker-ce-cli \
37+
docker-compose-plugin \
3738
e2fsprogs \
3839
fuse-overlayfs \
39-
g++ \
40-
gcc \
4140
iproute2 \
4241
iptables \
43-
jq \
4442
lsof \
45-
make \
4643
nodejs \
4744
nvidia-container-toolkit \
48-
nvidia-docker2 \
4945
openssl \
5046
pigz \
5147
python3 \
5248
sudo \
5349
uidmap \
5450
xfsprogs && \
55-
echo "**** compose install ****" && \
56-
mkdir -p /usr/local/lib/docker/cli-plugins && \
57-
curl -L \
58-
https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-$(uname -s)-$(uname -m) -o \
59-
/usr/local/lib/docker/cli-plugins/docker-compose && \
60-
chmod +x /usr/local/lib/docker/cli-plugins/docker-compose && \
6151
echo "**** dind setup ****" && \
6252
useradd -U dockremap && \
6353
usermod -G dockremap dockremap && \
@@ -93,7 +83,7 @@ RUN \
9383
ALVERSION=$(cat /kasm_release/conf/database/seed_data/default_properties.yaml |awk '/alembic_version/ {print $2}') && \
9484
curl -o \
9585
/tmp/images.tar.gz -L \
96-
"https://kasm-ci.s3.amazonaws.com/1.16.1-images-combined.tar.gz" && \
86+
"https://kasm-ci.s3.amazonaws.com/1.17.0-images-combined.tar.gz" && \
9787
tar xf \
9888
/tmp/images.tar.gz -C \
9989
/ && \

Dockerfile.aarch64

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
3+
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-noble
44

55
# set version label
66
ARG BUILD_DATE
@@ -21,43 +21,33 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,graphics,video,utility" \
2121
RUN \
2222
echo "**** install packages ****" && \
2323
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
24-
echo "deb [arch=arm64] https://download.docker.com/linux/ubuntu jammy stable" > \
24+
echo "deb [arch=arm64] https://download.docker.com/linux/ubuntu noble stable" > \
2525
/etc/apt/sources.list.d/docker.list && \
26-
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | \
27-
gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && \
28-
curl -s -L https://nvidia.github.io/libnvidia-container/ubuntu22.04/libnvidia-container.list | \
29-
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
30-
tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && \
31-
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
26+
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
27+
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
28+
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
29+
tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && \
30+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
3231
apt-get install -y --no-install-recommends \
3332
btrfs-progs \
33+
build-essential \
3434
containerd.io \
3535
docker-ce \
3636
docker-ce-cli \
37+
docker-compose-plugin \
3738
e2fsprogs \
3839
fuse-overlayfs \
39-
g++ \
40-
gcc \
4140
iproute2 \
4241
iptables \
43-
jq \
4442
lsof \
45-
make \
4643
nodejs \
4744
nvidia-container-toolkit \
48-
nvidia-docker2 \
4945
openssl \
5046
pigz \
5147
python3 \
5248
sudo \
5349
uidmap \
5450
xfsprogs && \
55-
echo "**** compose install ****" && \
56-
mkdir -p /usr/local/lib/docker/cli-plugins && \
57-
curl -L \
58-
https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-$(uname -s)-$(uname -m) -o \
59-
/usr/local/lib/docker/cli-plugins/docker-compose && \
60-
chmod +x /usr/local/lib/docker/cli-plugins/docker-compose && \
6151
echo "**** dind setup ****" && \
6252
useradd -U dockremap && \
6353
usermod -G dockremap dockremap && \
@@ -93,7 +83,7 @@ RUN \
9383
ALVERSION=$(cat /kasm_release/conf/database/seed_data/default_properties.yaml |awk '/alembic_version/ {print $2}') && \
9484
curl -o \
9585
/tmp/images.tar.gz -L \
96-
"https://kasm-ci.s3.amazonaws.com/1.16.1-images-combined.tar.gz" && \
86+
"https://kasm-ci.s3.amazonaws.com/1.17.0-images-combined.tar.gz" && \
9787
tar xf \
9888
/tmp/images.tar.gz -C \
9989
/ && \

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ services:
132132
- DOCKER_HUB_PASSWORD=PASS #optional
133133
- DOCKER_MTU=1500 #optional
134134
volumes:
135-
- /path/to/data:/opt
136-
- /path/to/profiles:/profiles #optional
135+
- /path/to/kasm/data:/opt
136+
- /path/to/kasm/profiles:/profiles #optional
137137
- /dev/input:/dev/input #optional
138138
- /run/udev/data:/run/udev/data #optional
139139
ports:
@@ -155,8 +155,8 @@ docker run -d \
155155
-e DOCKER_MTU=1500 `#optional` \
156156
-p 3000:3000 \
157157
-p 443:443 \
158-
-v /path/to/data:/opt \
159-
-v /path/to/profiles:/profiles `#optional` \
158+
-v /path/to/kasm/data:/opt \
159+
-v /path/to/kasm/profiles:/profiles `#optional` \
160160
-v /dev/input:/dev/input `#optional` \
161161
-v /run/udev/data:/run/udev/data `#optional` \
162162
--restart unless-stopped \
@@ -325,6 +325,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
325325

326326
## Versions
327327

328+
* **03.06.25:** - Rebase to Ubuntu Noble. Update for 1.17.0 release.
328329
* **09.11.24:** - Update base image for 1.16.1 release.
329330
* **24.09.24:** - Add base users in docker build logic to survive container upgrades.
330331
* **17.09.24:** - Update base image for 1.16.0 release and fix Nvidia support.

jenkins-vars.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ external_type: github_stable
66
release_type: stable
77
release_tag: latest
88
ls_branch: master
9-
build_armhf: false
109
repo_vars:
1110
- EXT_GIT_BRANCH = 'develop'
1211
- EXT_USER = 'kasmtech'

readme-vars.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ project_blurb: |
88
The rendering of the graphical-based containers is powered by the open-source project [KasmVNC](https://www.kasmweb.com/kasmvnc.html?utm_campaign=LinuxServer&utm_source=kasmvnc).
99
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
1010
project_categories: "Remote Desktop,Business"
11-
project_blurb_optional_extras_enabled: false
12-
project_blurb_optional_extras: []
1311
# supported architectures
1412
available_architectures:
1513
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
@@ -26,12 +24,9 @@ param_usage_include_net: false
2624
param_usage_include_env: true
2725
param_env_vars:
2826
- {env_var: "KASM_PORT", env_value: "443", desc: "Specify the port you bind to the outside for Kasm Workspaces."}
29-
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
3027
param_usage_include_vols: true
3128
param_volumes:
32-
- {vol_path: "/opt", vol_host_path: "/path/to/data", desc: "Docker and installation storage."}
33-
param_device_map: false
34-
param_devices: []
29+
- {vol_path: "/opt", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Docker and installation storage."}
3530
param_usage_include_ports: true
3631
param_ports:
3732
- {external_port: "3000", internal_port: "3000", port_desc: "Kasm Installation wizard. (https)"}
@@ -44,22 +39,12 @@ opt_param_env_vars:
4439
- {env_var: "DOCKER_MTU", env_value: "1500", desc: "Optionally specify the mtu options passed to dockerd."}
4540
opt_param_usage_include_vols: true
4641
opt_param_volumes:
47-
- {vol_path: "/profiles", vol_host_path: "/path/to/profiles", desc: "Optionally specify a path for persistent profile storage."}
42+
- {vol_path: "/profiles", vol_host_path: "/path/to/{{ project_name }}/profiles", desc: "Optionally specify a path for persistent profile storage."}
4843
- {vol_path: "/dev/input", vol_host_path: "/dev/input", desc: "Optional for gamepad support."}
4944
- {vol_path: "/run/udev/data", vol_host_path: "/run/udev/data", desc: "Optional for gamepad support."}
5045
opt_security_opt_param: true
5146
opt_security_opt_param_vars:
5247
- {run_var: "apparmor=rootlesskit", compose_var: "apparmor:rootlesskit", desc: "Some hosts require this on top of privileged for namespacing to work properly inside the DinD layer."}
53-
opt_param_usage_include_ports: false
54-
opt_param_ports: []
55-
opt_param_device_map: false
56-
opt_param_devices: []
57-
cap_add_param: false
58-
cap_add_param_vars: []
59-
opt_cap_add_param: false
60-
opt_cap_add_param_vars: []
61-
optional_block_1: false
62-
optional_block_1_items: ""
6348
unraid_template: false
6449
privileged: true
6550
# application setup block
@@ -148,6 +133,7 @@ init_diagram: |
148133
"kasm:latest" <- Base Images
149134
# changelog
150135
changelogs:
136+
- {date: "03.06.25:", desc: "Rebase to Ubuntu Noble. Update for 1.17.0 release."}
151137
- {date: "09.11.24:", desc: "Update base image for 1.16.1 release."}
152138
- {date: "24.09.24:", desc: "Add base users in docker build logic to survive container upgrades."}
153139
- {date: "17.09.24:", desc: "Update base image for 1.16.0 release and fix Nvidia support."}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#!/usr/bin/with-contenv bash
22

33
# Create directories
4-
if [ ! -d "/opt/docker" ]; then
4+
if [[ ! -d "/opt/docker" ]]; then
55
mkdir -p /opt/docker
66
fi
77

88
# Login to Dockerhub
9-
if [ -n "${DOCKER_HUB_USERNAME}" ]; then
9+
if [[ -n "${DOCKER_HUB_USERNAME}" ]]; then
1010
docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
1111
fi
1212

1313
# Generate self cert for wizard
14-
if [ ! -f "/opt/kasm/certs/kasm_wizard.crt" ]; then
14+
if [[ ! -f "/opt/kasm/certs/kasm_wizard.crt" ]]; then
1515
mkdir -p /opt/kasm/certs
1616
openssl req -x509 -nodes -days 1825 -newkey rsa:2048 \
1717
-keyout /opt/kasm/certs/kasm_wizard.key \
@@ -20,9 +20,9 @@ if [ ! -f "/opt/kasm/certs/kasm_wizard.crt" ]; then
2020
fi
2121

2222
# Create plugin directory
23-
if [ ! -L "/var/lib/docker-plugins" ]; then
24-
mkdir -p /opt/docker-plugins
25-
ln -s /opt/docker-plugins /var/lib/docker-plugins
26-
mkdir -p /var/lib/docker-plugins/rclone/config
27-
mkdir -p /var/lib/docker-plugins/rclone/cache
23+
if [[ ! -L "/var/lib/docker-plugins" ]]; then
24+
mkdir -p /opt/docker-plugins
25+
ln -s /opt/docker-plugins /var/lib/docker-plugins
26+
mkdir -p /var/lib/docker-plugins/rclone/config
27+
mkdir -p /var/lib/docker-plugins/rclone/cache
2828
fi

0 commit comments

Comments
 (0)