Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +14 -9
Dockerfile
CHANGED
|
@@ -1,20 +1,23 @@
|
|
| 1 |
-
# We are switching to 'ubuntu-xfce' because 'alpine-xfce' is not valid
|
| 2 |
FROM linuxserver/webtop:ubuntu-xfce
|
| 3 |
|
| 4 |
# --------------------------------------------------------
|
| 5 |
-
# CONFIGURATION
|
| 6 |
# --------------------------------------------------------
|
| 7 |
-
#
|
| 8 |
-
|
|
|
|
| 9 |
|
| 10 |
-
#
|
|
|
|
|
|
|
| 11 |
ENV PUID=1000
|
| 12 |
ENV PGID=1000
|
|
|
|
| 13 |
|
| 14 |
# --------------------------------------------------------
|
| 15 |
-
#
|
| 16 |
# --------------------------------------------------------
|
| 17 |
-
#
|
| 18 |
RUN apt-get update && apt-get install -y \
|
| 19 |
python3 \
|
| 20 |
python3-pip \
|
|
@@ -22,7 +25,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 22 |
firefox \
|
| 23 |
nano \
|
| 24 |
vlc \
|
| 25 |
-
# Add any other apps here
|
| 26 |
&& apt-get clean
|
| 27 |
|
| 28 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
FROM linuxserver/webtop:ubuntu-xfce
|
| 2 |
|
| 3 |
# --------------------------------------------------------
|
| 4 |
+
# 1. SMART PORT CONFIGURATION
|
| 5 |
# --------------------------------------------------------
|
| 6 |
+
# Instead of guessing the file name, we search the /defaults folder
|
| 7 |
+
# for any file containing "3000" and replace it with "7860".
|
| 8 |
+
RUN grep -rl "3000" /defaults | xargs sed -i 's/3000/7860/g'
|
| 9 |
|
| 10 |
+
# --------------------------------------------------------
|
| 11 |
+
# 2. PERMISSIONS & ENVIRONMENT
|
| 12 |
+
# --------------------------------------------------------
|
| 13 |
ENV PUID=1000
|
| 14 |
ENV PGID=1000
|
| 15 |
+
ENV TZ=Etc/UTC
|
| 16 |
|
| 17 |
# --------------------------------------------------------
|
| 18 |
+
# 3. INSTALL APPS (The Memory)
|
| 19 |
# --------------------------------------------------------
|
| 20 |
+
# Update apt and install your tools
|
| 21 |
RUN apt-get update && apt-get install -y \
|
| 22 |
python3 \
|
| 23 |
python3-pip \
|
|
|
|
| 25 |
firefox \
|
| 26 |
nano \
|
| 27 |
vlc \
|
|
|
|
| 28 |
&& apt-get clean
|
| 29 |
|
| 30 |
+
# --------------------------------------------------------
|
| 31 |
+
# 4. START
|
| 32 |
+
# --------------------------------------------------------
|
| 33 |
+
# The container handles the rest
|