mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-07 08:44:07 +01:00
Merge branch 'feature/KASM-2146_hunchly' into 'develop'
KASM-2146 Hunchly Image Closes KASM-2146 See merge request kasm-technologies/internal/workspaces-images!21
This commit is contained in:
commit
ebd0a356f7
@ -42,7 +42,7 @@ build:
|
||||
- aws-autoscale
|
||||
parallel:
|
||||
matrix:
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram ]
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly ]
|
||||
|
||||
|
||||
|
||||
@ -73,7 +73,7 @@ build_dev:
|
||||
- aws-autoscale
|
||||
parallel:
|
||||
matrix:
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram ]
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly ]
|
||||
|
||||
|
||||
|
||||
@ -101,7 +101,7 @@ build_schedules:
|
||||
- aws-autoscale
|
||||
parallel:
|
||||
matrix:
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram ]
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly ]
|
||||
|
||||
|
||||
|
||||
@ -121,4 +121,4 @@ update_readmes:
|
||||
- $README_PASSWORD
|
||||
parallel:
|
||||
matrix:
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram ]
|
||||
- KASM_IMAGE: [chrome, chromium, firefox, desktop, desktop-deluxe, firefox-mobile, tor-browser, doom, edge, terminal, vmware-horizon, remmina, rdesktop, brave, discord, sublime-text, gimp, vs-code, slack, teams, only-office, zoom, signal, steam, postman, insomnia, zsnes, vlc, ubuntu-bionic-desktop, maltego, centos-7-desktop, telegram, hunchly ]
|
||||
|
35
dockerfile-kasm-hunchly
Normal file
35
dockerfile-kasm-hunchly
Normal file
@ -0,0 +1,35 @@
|
||||
ARG BASE_TAG="develop"
|
||||
FROM kasmweb/core-ubuntu-bionic:$BASE_TAG
|
||||
USER root
|
||||
|
||||
ENV HOME /home/kasm-default-profile
|
||||
ENV STARTUPDIR /dockerstartup
|
||||
ENV INST_SCRIPTS $STARTUPDIR/install
|
||||
WORKDIR $HOME
|
||||
|
||||
######### Customize Container Here ###########
|
||||
|
||||
|
||||
# Install Google Chrome
|
||||
COPY ./src/ubuntu/install/chrome $INST_SCRIPTS/chrome/
|
||||
RUN bash $INST_SCRIPTS/chrome/install_chrome.sh && rm -rf $INST_SCRIPTS/chrome/
|
||||
|
||||
# Install Hunchly
|
||||
COPY ./src/ubuntu/install/hunchly $INST_SCRIPTS/hunchly/
|
||||
RUN bash $INST_SCRIPTS/hunchly/install_hunchly.sh && rm -rf $INST_SCRIPTS/hunchly/
|
||||
|
||||
# To apply the Hunchly license into the image, replace the placeholder license.key file and uncomment the following lines
|
||||
#RUN mkdir -p /opt/hunchly/ && echo "license_location=/opt/hunchly/license.key" >>/usr/lib/hunchly/hunchly.ini
|
||||
#ADD ./src/ubuntu/install/hunchly/license.key /opt/hunchly/license.key
|
||||
|
||||
|
||||
######### End Customizations ###########
|
||||
|
||||
RUN chown 1000:0 $HOME
|
||||
RUN $STARTUPDIR/set_user_permission.sh $HOME
|
||||
|
||||
ENV HOME /home/kasm-user
|
||||
WORKDIR $HOME
|
||||
RUN mkdir -p $HOME && chown -R 1000:0 $HOME
|
||||
|
||||
USER 1000
|
8
docs/hunchly/README.md
Normal file
8
docs/hunchly/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
# About This Image
|
||||
|
||||
This Image contains an Ubuntu desktop with Google Chrome, [Hunchly](https://www.hunch.ly/) desktop app and [Hunchly Chrome Addon](https://chrome.google.com/webstore/detail/hunchly-20/amfnegileeghgikpggcebehdepknalbf) pre-configured.
|
||||
|
||||
|
||||
![Screenshot][Image_Screenshot]
|
||||
|
||||
[Image_Screenshot]: https://f.hubspotusercontent30.net/hubfs/5856039/dockerhub/image-screenshots/hunchly.png "Image Screenshot"
|
1
docs/hunchly/description.txt
Normal file
1
docs/hunchly/description.txt
Normal file
@ -0,0 +1 @@
|
||||
Ubuntu desktop with Google Chrome and Hunchly Web Capture Tool
|
24
src/ubuntu/install/hunchly/install_hunchly.sh
Normal file
24
src/ubuntu/install/hunchly/install_hunchly.sh
Normal file
@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
wget https://downloadmirror.hunch.ly/currentversion/hunchly.deb -O /tmp/hunchly.deb
|
||||
apt-get update
|
||||
apt-get install -y /tmp/hunchly.deb
|
||||
rm -rf /tmp/hunchly.deb
|
||||
cp /usr/share/applications/hunchly-2.desktop $HOME/Desktop/
|
||||
chown 1000:1000 $HOME/Desktop/hunchly-2.desktop
|
||||
chmod +x $HOME/Desktop/hunchly-2.desktop
|
||||
|
||||
# Install the Hunchly Extension
|
||||
cat >/etc/opt/chrome/policies/managed/hunchly_extension.json <<EOL
|
||||
{
|
||||
"ExtensionSettings": {
|
||||
"amfnegileeghgikpggcebehdepknalbf": {
|
||||
"installation_mode": "force_installed",
|
||||
"update_url": "https://clients2.google.com/service/update2/crx",
|
||||
"toolbar_pin" : "force_pinned"
|
||||
}
|
||||
}
|
||||
}
|
||||
EOL
|
||||
|
0
src/ubuntu/install/hunchly/license.key
Normal file
0
src/ubuntu/install/hunchly/license.key
Normal file
Loading…
Reference in New Issue
Block a user