Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KasmVNC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
docker
KasmVNC
Commits
f47e6018
Verified
Commit
f47e6018
authored
3 months ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Add option to install a specific JDK
parent
509b8fc5
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env.sample
+2
-0
2 additions, 0 deletions
.env.sample
docker-compose.yml
+2
-2
2 additions, 2 deletions
docker-compose.yml
docker/kasm/Dockerfile
+6
-0
6 additions, 0 deletions
docker/kasm/Dockerfile
with
10 additions
and
2 deletions
.env.sample
+
2
−
0
View file @
f47e6018
...
@@ -23,6 +23,8 @@ TZ=Europe/Paris
...
@@ -23,6 +23,8 @@ TZ=Europe/Paris
ANACONDA=true
ANACONDA=true
# Install QGIS
# Install QGIS
QGIS=true
QGIS=true
# Install JAVA tell which jdk ie default-jdk openjdk-8 etc.
JAVA=
# Should the user have sudo rights
# Should the user have sudo rights
# **only home is a volume, any modifcation in other FS will be lost**
# **only home is a volume, any modifcation in other FS will be lost**
SUDO=false
SUDO=false
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
2
−
2
View file @
f47e6018
...
@@ -6,8 +6,8 @@ services:
...
@@ -6,8 +6,8 @@ services:
args
:
args
:
-
QGIS=${QGIS}
-
QGIS=${QGIS}
-
ANACONDA=${ANACONDA}
-
ANACONDA=${ANACONDA}
image
:
"
webtop-ubuntu-mate:anaconda-${ANACONDA}_QGIS-${QGIS}_SUDO-${SUDO}"
-
JAVA=${JAVA}
#
image:
lscr.io/linuxserver/
webtop
:
ubuntu-mate
image
:
"
webtop
-
ubuntu-mate
:anaconda-${ANACONDA}_QGIS-${QGIS}_JAVA-${JAVA}_SUDO-${SUDO}"
shm_size
:
'
1gb'
shm_size
:
'
1gb'
security_opt
:
security_opt
:
-
seccomp:unconfined
#optional
-
seccomp:unconfined
#optional
...
...
This diff is collapsed.
Click to expand it.
docker/kasm/Dockerfile
+
6
−
0
View file @
f47e6018
...
@@ -4,6 +4,7 @@ ENV STARTUPDIR /custom-cont-init.d
...
@@ -4,6 +4,7 @@ ENV STARTUPDIR /custom-cont-init.d
ARG
QGIS
ARG
QGIS
ARG
ANACONDA
ARG
ANACONDA
ARG
JAVA
ARG
ANACONDA_VERS=Anaconda3-2024.02-1
ARG
ANACONDA_VERS=Anaconda3-2024.02-1
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
...
@@ -35,6 +36,11 @@ RUN if [ "$QGIS" = true ] ; then \
...
@@ -35,6 +36,11 @@ RUN if [ "$QGIS" = true ] ; then \
apt-get
-y
install
qgis qgis-plugin-grass
;
\
apt-get
-y
install
qgis qgis-plugin-grass
;
\
fi
fi
RUN if
[
!
-z
"
$JAVA
"
]
;
then
\
apt-get update
;
\
apt-get
-y
install
$JAVA
-jdk
$JAVA
-jre
;
\
fi
COPY
custom_startup.sh $STARTUPDIR/custom_startup.sh
COPY
custom_startup.sh $STARTUPDIR/custom_startup.sh
COPY
change_password.sh /
COPY
change_password.sh /
COPY
lecture /etc/sudoers.lecture
COPY
lecture /etc/sudoers.lecture
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment