Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-webtop
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MyDockerImages
docker-webtop
Commits
017fc395
Unverified
Commit
017fc395
authored
1 year ago
by
Dominique Marcadet
Browse files
Options
Downloads
Patches
Plain Diff
initial xfce version
parent
27203307
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+39
-0
39 additions, 0 deletions
Dockerfile
Makefile
+8
-0
8 additions, 0 deletions
Makefile
README.md
+15
-6
15 additions, 6 deletions
README.md
root/usr/local/lib/wrapper_script.sh
+12
-0
12 additions, 0 deletions
root/usr/local/lib/wrapper_script.sh
with
74 additions
and
6 deletions
Dockerfile
0 → 100644
+
39
−
0
View file @
017fc395
FROM
--platform=${TARGETPLATFORM} lscr.io/linuxserver/webtop:ubuntu-xfce
## environment settings
ENV
HOME="/config"
ENV
TZ=Europe/Paris
ARG
DEBIAN_FRONTEND=noninteractive
RUN
\
echo
"**** install needed tools and dependencies ****"
&&
\
apt-get update
&&
\
apt-get upgrade
-y
&&
\
apt-get
install
-y
\
nextcloud-desktop
\
unzip
\
zip
RUN
\
echo
"**** clean up ****"
&&
\
apt-get clean
&&
\
rm
-rf
\
/tmp/
*
\
/var/lib/apt/lists/
*
\
/var/tmp/
*
## add local files
COPY
/root /
## /config will be a docker volume, initially empty
## wrapper_script will do the copy from /init-config
## but /config must exist fort the mount
RUN
\
chown
-R
abc:abc /config
&&
\
mv
/config /init-config
&&
\
mkdir
/config
&&
\
chown
-R
abc:abc /config
## launch
ENTRYPOINT
["/bin/bash", "/usr/local/lib/wrapper_script.sh"]
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
8
−
0
View file @
017fc395
REPO
=
gitlab-research.centralesupelec.fr:4567/my-docker-images/docker-webtop
TAG
=
xfce
all
:
docker buildx create
--use
--node
new-builder
docker buildx build
--push
--platform
"linux/amd64"
--tag
"
${
REPO
}
:
${
TAG
}
"
.
This diff is collapsed.
Click to expand it.
README.md
+
15
−
6
View file @
017fc395
...
...
@@ -3,16 +3,25 @@
## Why
This image is a base image for a
full
linux running either on a local docker or on MyDocker.
This image is a base image for a linux
with a GUI
running either on a local docker or on MyDocker.
It is based on
[
WebTop image from LinuxServer.io
](
https://github.com/linuxserver/docker-webtop
)
which is maintained and quite often updated.
This image use Ubuntu 22.04 and the
[
Xfce
](
https://www.xfce.org
)
window manager.
## Changes
-
For deployment on MyDocker, an nginx WebSocket reverse proxy with http basic authentification
has been added. Trying to use the PASSWORD setting of
[
guacamole client From Linuxserver
](
https://github.com/linuxserver/gclient
)
was not succesful.
-
Nextcloud and some basic tools (unzip, zip) added.
## Details
## Usage
-
The exposed ports are 3000 (HTTP/VNC) and 3001 (HTTPS/VNC).
-
The user folder is
`/config`
.
-
the user is
`abc`
, its password also, sudo is without password.
-
if docker is installed on your computer, you can run (amd64 or arm64 architecture) this
image, assuming you are in a specific folder that will be shared with the container at
`/config`
, with:
`docker run -p 3000:3000 -v "$(pwd):/config"
gitlab-research.centralesupelec.fr:4567/my-docker-images/docker-webtop:xfce`
-
Choose one of the available branch (
`kde`
or
`icewm`
).
This diff is collapsed.
Click to expand it.
root/usr/local/lib/wrapper_script.sh
0 → 100755
+
12
−
0
View file @
017fc395
#!/bin/bash
cp
-TRn
/init-config/ /config
chown
-R
abc:abc /config
# MyDocker send a username to $1 and a password to $2
if
[
"
$2
"
]
;
then
export
CUSTOM_USER
=
$1
export
PASSWORD
=
$2
fi
exec
/init
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