mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-06-25 22:41:47 +02:00
Resolve KASM-6756 "Feature/ alpine 321"
This commit is contained in:
parent
5fb231044d
commit
934c1eb2e0
@ -365,6 +365,20 @@ multiImages:
|
||||
- src/alpine/xfce/.config/xfce4/**
|
||||
- src/alpine/xfce/.config/xfce4/xfconf/**
|
||||
- src/alpine/xfce/.config/xfce4/xfconf/xfce-perchannel-xml/**
|
||||
- name1: alpine
|
||||
name2: 321
|
||||
base: alpine:3.21
|
||||
bg: bg_alpine.png
|
||||
distro: alpine
|
||||
dockerfile: dockerfile-kasm-core-alpine
|
||||
changeFiles:
|
||||
- dockerfile-kasm-core-alpine
|
||||
- src/alpine/**
|
||||
- src/alpine/xfce/**
|
||||
- src/alpine/xfce/.config/**
|
||||
- src/alpine/xfce/.config/xfce4/**
|
||||
- src/alpine/xfce/.config/xfce4/xfconf/**
|
||||
- src/alpine/xfce/.config/xfce4/xfconf/xfce-perchannel-xml/**
|
||||
singleImages:
|
||||
- name1: cuda
|
||||
name2: focal
|
||||
|
7
docs/core-alpine-321/README.md
Normal file
7
docs/core-alpine-321/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
# About This Image
|
||||
|
||||
This image contains a browser-accessible version of Alpine 3.21.
|
||||
|
||||
![Screenshot][Image_Screenshot]
|
||||
|
||||
[Image_Screenshot]: https://5856039.fs1.hubspotusercontent-na1.net/hubfs/5856039/dockerhub/image-screenshots/alpine-317-core.png "Image Screenshot"
|
9
docs/core-alpine-321/demo.txt
Normal file
9
docs/core-alpine-321/demo.txt
Normal file
@ -0,0 +1,9 @@
|
||||
# Live Demo
|
||||
|
||||
**Launch a real-time demo in a new browser window:** <a href="https://app.kasmweb.com/#/cast/1481835260" target="_blank">Live Demo</a>.
|
||||
|
||||
<a href="https://app.kasmweb.com/#/cast/1481835260" target="_blank"><img src="https://5856039.fs1.hubspotusercontent-na1.net/hub/5856039/hubfs/dockerhub/casting-buttons/CoreUbuntuJammy.png" width="300" height="104"></a>
|
||||
|
||||
∗*This demo links to a Jammy Desktop image to show the basic functionality of Kasm Workspaces.*
|
||||
|
||||
∗*Note: Demo is limited to 3 minutes and has upload/downloads restricted for security purposes.*
|
1
docs/core-alpine-321/description.txt
Normal file
1
docs/core-alpine-321/description.txt
Normal file
@ -0,0 +1 @@
|
||||
Alpine 3.21 base image for Kasm Workspaces
|
@ -48,7 +48,7 @@ elif [ "${DISTRO}" == "opensuse" ]; then
|
||||
zypper install -ny curl git
|
||||
zypper install -yn ffmpeg pulseaudio-utils
|
||||
elif [ "${DISTRO}" == "alpine" ]; then
|
||||
if grep -q v3.19 /etc/os-release || grep -q v3.20 /etc/os-release; then
|
||||
if grep -q v3.19 /etc/os-release || grep -q v3.20 /etc/os-release || grep -q v3.21 /etc/os-release; then
|
||||
apk add --no-cache \
|
||||
ffmpeg \
|
||||
ffplay \
|
||||
|
@ -17,9 +17,9 @@ echo "Install KasmVNC server"
|
||||
cd /tmp
|
||||
BUILD_ARCH=$(uname -p)
|
||||
UBUNTU_CODENAME=""
|
||||
COMMIT_ID="0ebbbc6412e131092308cc1ce10b9d106e3b4e05"
|
||||
BRANCH="release" # just use 'release' for a release branch
|
||||
KASMVNC_VER="1.3.3"
|
||||
COMMIT_ID="e04731870baebd2784983fb48197a2416c7d3519"
|
||||
BRANCH="master" # just use 'release' for a release branch
|
||||
KASMVNC_VER="1.3.4"
|
||||
COMMIT_ID_SHORT=$(echo "${COMMIT_ID}" | cut -c1-6)
|
||||
|
||||
# Naming scheme is now different between an official release and feature branch
|
||||
@ -96,7 +96,13 @@ elif [[ "${DISTRO}" = @(debian|parrotos6) ]] ; then
|
||||
fi
|
||||
fi
|
||||
elif [[ "${DISTRO}" == "alpine" ]] ; then
|
||||
if grep -q v3.20 /etc/os-release; then
|
||||
if grep -q v3.21 /etc/os-release; then
|
||||
if [[ "$(arch)" =~ ^x86_64$ ]] ; then
|
||||
BUILD_URL="https://kasmweb-build-artifacts.s3.amazonaws.com/kasmvnc/${COMMIT_ID}/output/alpine_321/kasmvnc.alpine_321_x86_64.tgz"
|
||||
else
|
||||
BUILD_URL="https://kasmweb-build-artifacts.s3.amazonaws.com/kasmvnc/${COMMIT_ID}/output/alpine_321/kasmvnc.alpine_321_aarch64.tgz"
|
||||
fi
|
||||
elif grep -q v3.20 /etc/os-release; then
|
||||
if [[ "$(arch)" =~ ^x86_64$ ]] ; then
|
||||
BUILD_URL="https://kasmweb-build-artifacts.s3.amazonaws.com/kasmvnc/${COMMIT_ID}/output/alpine_320/kasmvnc.alpine_320_x86_64.tgz"
|
||||
else
|
||||
|
@ -51,6 +51,9 @@ handle_other_distros_conversion() {
|
||||
if grep -q 'v3.20' /etc/os-release; then
|
||||
profile_distro="alpine_320"
|
||||
fi
|
||||
if grep -q 'v3.21' /etc/os-release; then
|
||||
profile_distro="alpine_321"
|
||||
fi
|
||||
;;
|
||||
rockylinux*)
|
||||
profile_distro=$(echo "$profile_distro" | sed -e 's/linux//')
|
||||
@ -86,7 +89,7 @@ download_and_symlink() {
|
||||
|
||||
ARCH=$(arch)
|
||||
BRANCH="develop"
|
||||
COMMIT_ID="42424ea385a0d10fa7bb5749e207ee70b2a44ae2"
|
||||
COMMIT_ID="9b62027aaf2046454b572d7257070aaac9cd8cac"
|
||||
|
||||
convert_local_distro_to_profile_sync_distro
|
||||
check_distro_is_supported
|
||||
|
Loading…
x
Reference in New Issue
Block a user