mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2025-01-23 22:18:49 +01:00
Resolve KASM-6756 "Feature/ alpine 321"
This commit is contained in:
parent
37e96614b1
commit
93033a23fe
@ -396,6 +396,15 @@ multiImages:
|
||||
- src/ubuntu/install/langpacks/**
|
||||
- src/ubuntu/install/cleanup/**
|
||||
- src/alpine/install/**
|
||||
- name: alpine-321-desktop
|
||||
singleapp: false
|
||||
base: core-alpine-321
|
||||
dockerfile: dockerfile-kasm-alpine-321-desktop
|
||||
changeFiles:
|
||||
- dockerfile-kasm-alpine-321-desktop
|
||||
- src/ubuntu/install/langpacks/**
|
||||
- src/ubuntu/install/cleanup/**
|
||||
- src/alpine/install/**
|
||||
- name: brave
|
||||
singleapp: true
|
||||
base: core-ubuntu-focal
|
||||
|
55
dockerfile-kasm-alpine-321-desktop
Normal file
55
dockerfile-kasm-alpine-321-desktop
Normal file
@ -0,0 +1,55 @@
|
||||
ARG BASE_TAG="develop"
|
||||
ARG BASE_IMAGE="core-alpine-321"
|
||||
FROM kasmweb/$BASE_IMAGE:$BASE_TAG
|
||||
|
||||
USER root
|
||||
|
||||
ENV DISTRO=alpine321
|
||||
ENV HOME /home/kasm-default-profile
|
||||
ENV STARTUPDIR /dockerstartup
|
||||
WORKDIR $HOME
|
||||
|
||||
### Envrionment config
|
||||
ENV SKIP_CLEAN=true \
|
||||
INST_DIR=$STARTUPDIR/install \
|
||||
INST_SCRIPTS="/alpine/install/tools/install_tools_deluxe.sh \
|
||||
/alpine/install/misc/install_tools.sh \
|
||||
/alpine/install/firefox/install_firefox.sh \
|
||||
/alpine/install/remmina/install_remmina.sh \
|
||||
/alpine/install/gimp/install_gimp.sh \
|
||||
/alpine/install/ansible/install_ansible.sh \
|
||||
/alpine/install/terraform/install_terraform.sh \
|
||||
/alpine/install/thunderbird/install_thunderbird.sh \
|
||||
/alpine/install/audacity/install_audacity.sh \
|
||||
/alpine/install/blender/install_blender.sh \
|
||||
/alpine/install/geany/install_geany.sh \
|
||||
/alpine/install/inkscape/install_inkscape.sh \
|
||||
/alpine/install/libre_office/install_libre_office.sh \
|
||||
/alpine/install/pinta/install_pinta.sh \
|
||||
/alpine/install/obs/install_obs.sh \
|
||||
/alpine/install/filezilla/install_filezilla.sh \
|
||||
/alpine/install/chromium/install_chromium.sh \
|
||||
/ubuntu/install/langpacks/install_langpacks.sh \
|
||||
/ubuntu/install/cleanup/cleanup.sh"
|
||||
|
||||
# Copy install scripts
|
||||
COPY ./src/ $INST_DIR
|
||||
|
||||
# Run installations
|
||||
RUN \
|
||||
for SCRIPT in $INST_SCRIPTS; do \
|
||||
bash ${INST_DIR}${SCRIPT} || exit 1; \
|
||||
done && \
|
||||
$STARTUPDIR/set_user_permission.sh $HOME && \
|
||||
rm -f /etc/X11/xinit/Xclients && \
|
||||
chown 1000:0 $HOME && \
|
||||
mkdir -p /home/kasm-user && \
|
||||
chown -R 1000:0 /home/kasm-user && \
|
||||
rm -Rf ${INST_DIR}
|
||||
|
||||
# Userspace Runtime
|
||||
ENV HOME /home/kasm-user
|
||||
WORKDIR $HOME
|
||||
USER 1000
|
||||
|
||||
CMD ["--tail-log"]
|
@ -25,8 +25,8 @@ ENV SKIP_CLEAN=true \
|
||||
/oracle/install/gimp/install_gimp.sh \
|
||||
/oracle/install/zoom/install_zoom.sh \
|
||||
/oracle/install/ansible/install_ansible.sh \
|
||||
/oracle/install/terraform/install_terraform.sh \
|
||||
/oracle/install/telegram/install_telegram.sh \
|
||||
/oracle/install/terraform/install_terraform.sh \
|
||||
/ubuntu/install/thunderbird/install_thunderbird.sh \
|
||||
/ubuntu/install/slack/install_slack.sh \
|
||||
/ubuntu/install/cleanup/cleanup.sh"
|
||||
|
7
docs/alpine-321-desktop/README.md
Normal file
7
docs/alpine-321-desktop/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
# About This Image
|
||||
|
||||
This Image contains a browser-accessible Alpine 3.21 Desktop with various productivity and development apps installed.
|
||||
|
||||
![Screenshot][Image_Screenshot]
|
||||
|
||||
[Image_Screenshot]: https://info.kasmweb.com/hubfs/dockerhub/image-screenshots/alpine-317-desktop.png "Image Screenshot"
|
9
docs/alpine-321-desktop/demo.txt
Normal file
9
docs/alpine-321-desktop/demo.txt
Normal file
@ -0,0 +1,9 @@
|
||||
# Live Demo
|
||||
|
||||
<a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank"><img src="https://info.kasmweb.com/hubfs/dockerhub/GIFs/ubuntu-jammy-desktop.gif" width="640" height="360"></a>
|
||||
|
||||
**Launch a real-time demo in a new browser window:** <a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank">Live Demo</a>.
|
||||
|
||||
<a href="https://app.kasmweb.com/#/cast/6708319219" target="_blank"><img src="https://5856039.fs1.hubspotusercontent-na1.net/hub/5856039/hubfs/dockerhub/casting-buttons/UbuntuJammyDesktop.png" width="300" height="104"></a>
|
||||
|
||||
∗*Note: Demo is limited to 3 minutes and has upload/downloads restricted for security purposes.*
|
1
docs/alpine-321-desktop/description.txt
Normal file
1
docs/alpine-321-desktop/description.txt
Normal file
@ -0,0 +1 @@
|
||||
Alpine 3.21 desktop for Kasm Workspaces
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
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 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||||
opentofu
|
||||
else
|
||||
|
@ -1,13 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
||||
|
||||
if [ "${ARCH}" == "arm64" ] ; then
|
||||
echo "Terraform for arm64 currently not supported, skipping install"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|rhel9|almalinux9|almalinux8) ]]; then
|
||||
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
|
||||
dnf install -y terraform
|
||||
|
@ -22,8 +22,8 @@ if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|rhel9|almalinux9|
|
||||
dnf clean all
|
||||
fi
|
||||
elif [[ "${DISTRO}" == "opensuse" ]]; then
|
||||
wget https://slack.com/gpg/slack_pubkey_20230710.gpg
|
||||
rpm --import slack_pubkey_20230710.gpg
|
||||
wget https://slack.com/gpg/slack_pubkey_20240822.gpg
|
||||
rpm --import slack_pubkey_20240822.gpg
|
||||
zypper install -yn slack-${version}-0.1.el8.x86_64.rpm
|
||||
if [ -z ${SKIP_CLEAN+x} ]; then
|
||||
zypper clean --all
|
||||
|
@ -47,6 +47,9 @@ if [[ "${DISTRO}" == "fedora39" ]]; then
|
||||
elif [[ "${DISTRO}" == "fedora40" ]]; then
|
||||
cp /usr/share/applications/org.mozilla.thunderbird.desktop $HOME/Desktop/
|
||||
chmod +x $HOME/Desktop/org.mozilla.thunderbird.desktop
|
||||
elif [[ "${DISTRO}" == "opensuse" ]]; then
|
||||
cp /usr/share/applications/thunderbird-esr.desktop $HOME/Desktop/
|
||||
chmod +x $HOME/Desktop/thunderbird-esr.desktop
|
||||
else
|
||||
cp /usr/share/applications/thunderbird.desktop $HOME/Desktop/
|
||||
chmod +x $HOME/Desktop/thunderbird.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user