Spaces:
Paused
Paused
Dockerfile
Browse files- Dockerfile +23 -0
Dockerfile
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ubuntu:22.04
|
| 2 |
+
|
| 3 |
+
# Step 1: Necessary environment variables
|
| 4 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
+
|
| 6 |
+
# Step 2: Essential tools & Desktop environment install
|
| 7 |
+
# Amra XFCE4 use korbo jeta media consumption-er jonno shera
|
| 8 |
+
RUN apt update && apt install -y \
|
| 9 |
+
wget \
|
| 10 |
+
curl \
|
| 11 |
+
tmate \
|
| 12 |
+
xfce4 \
|
| 13 |
+
xfce4-goodies \
|
| 14 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
+
|
| 16 |
+
# Step 3: Google Remote Desktop download & install
|
| 17 |
+
RUN wget https://dl.google.com/linux/direct/google-remote-desktop_current_amd64.deb \
|
| 18 |
+
&& apt update && apt install -y ./google-remote-desktop_current_amd64.deb \
|
| 19 |
+
&& rm google-remote-desktop_current_amd64.deb
|
| 20 |
+
|
| 21 |
+
# Step 4: Container chalu houyar command
|
| 22 |
+
# Eikhane tmate background-e thakbe ar desktop foreground-e
|
| 23 |
+
CMD tmate -S /tmp/tmate.sock new-session -d && tmate -S /tmp/tmate.sock wait display-name && tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}' && sleep infinity
|