mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-21 23:13:08 +01:00
KASM-4721 install cups-client to have cli tools for printer testing
This commit is contained in:
parent
b875f60e83
commit
14e8d1edaf
@ -18,7 +18,7 @@ cd /tmp
|
||||
BUILD_ARCH=$(uname -p)
|
||||
UBUNTU_CODENAME=""
|
||||
COMMIT_ID="fa884809145e0ba6e5e1da49887a82b5cab0a1d1"
|
||||
BRANCH="release" # just use 'release' for a release branch
|
||||
BRANCH="master" # just use 'release' for a release branch
|
||||
KASMVNC_VER="1.1.1"
|
||||
COMMIT_ID_SHORT=$(echo "${COMMIT_ID}" | cut -c1-6)
|
||||
|
||||
|
@ -5,17 +5,17 @@ set -e
|
||||
echo $DISTRO
|
||||
|
||||
if [ "${DISTRO}" == "oracle7" ] || [ "${DISTRO}" == "centos" ]; then
|
||||
yum install -y cups cups-pdf
|
||||
yum install -y cups cups-client cups-pdf
|
||||
elif [[ "${DISTRO}" == @(almalinux8|almalinux9|oracle8|oracle9|rockylinux8|rockylinux9|fedora37|fedora38) ]]; then
|
||||
dnf install -y cups cups-pdf
|
||||
dnf install -y cups cups-client cups-pdf
|
||||
elif [ "${DISTRO}" == "opensuse" ]; then
|
||||
zypper install -y cups cups-pdf
|
||||
zypper install -y cups cups-client cups-pdf
|
||||
elif [ "${DISTRO}" == "alpine" ]; then
|
||||
echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories
|
||||
apk add --no-cache cups cups-pdf@testing
|
||||
apk add --no-cache cups cups-client cups-pdf@testing
|
||||
else
|
||||
apt-get update
|
||||
apt-get install -y cups cups-pdf
|
||||
apt-get install -y cups cups-client cups-pdf
|
||||
fi
|
||||
|
||||
COMMIT_ID="049908cfa22a536a1ea9c2e0d42528711b013625"
|
||||
@ -27,4 +27,4 @@ ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
||||
mkdir -p $STARTUPDIR/printer
|
||||
wget -qO- https://kasmweb-build-artifacts.s3.amazonaws.com/kasm_printer_service/${COMMIT_ID}/kasm_printer_service_${ARCH}_${BRANCH}.${COMMIT_ID_SHORT}.tar.gz | tar -xvz -C $STARTUPDIR/printer/
|
||||
|
||||
echo "${BRANCH}:${COMMIT_ID}" > $STARTUPDIR/printer/kasm_printer.version
|
||||
echo "${BRANCH}:${COMMIT_ID}" > $STARTUPDIR/printer/kasm_printer.version
|
||||
|
Loading…
Reference in New Issue
Block a user