|
1 | 1 | FROM madebytimo/development |
2 | 2 |
|
3 | 3 | RUN install-autonomous.sh install Chromium DesktopBasics Firefox GoogleChrome IntellijIdea \ |
4 | | - ScriptsDesktop UnityHub VSCode && \ |
5 | | - apt update -qq && apt install -y -qq cinnamon dbus dbus-x11 x11vnc xserver-xorg-video-dummy && \ |
6 | | - rm -rf /var/lib/apt/lists/* |
| 4 | + ScriptsDesktop UnityHub VSCode \ |
| 5 | + && apt update -qq && apt install -y -qq cinnamon dbus dbus-x11 x11vnc xserver-xorg-video-dummy \ |
| 6 | + && rm -rf /var/lib/apt/lists/* |
7 | 7 |
|
8 | | -RUN echo "X11Forwarding yes" >> /etc/ssh/sshd_config && \ |
9 | | - echo "X11UseLocalhost no" >> /etc/ssh/sshd_config |
| 8 | +COPY files/locale.gen /etc/locale.gen |
| 9 | +COPY --from=madebytimo/development-desktop:v0.0.1-base-2023-07-11 /opt/meshinstall.sh \ |
| 10 | + /opt/meshinstall.sh |
10 | 11 |
|
11 | | -RUN usermod --append --groups audio,video,plugdev,netdev,bluetooth,lp,scanner user |
| 12 | +RUN locale-gen \ |
| 13 | + && chmod +x /opt/meshinstall.sh \ |
| 14 | + && usermod --append --groups audio,video,plugdev,netdev,bluetooth,lp,scanner user \ |
| 15 | + && echo "X11Forwarding yes" >> /etc/ssh/sshd_config \ |
| 16 | + && echo "X11UseLocalhost no" >> /etc/ssh/sshd_config |
12 | 17 |
|
13 | 18 | COPY files/xorg-dummy.conf /app/templates/xorg-dummy.conf |
14 | | -COPY files/locale.gen /etc/locale.gen |
15 | | -RUN locale-gen |
16 | | -RUN curl --output /opt/meshinstall.sh "https://meshcentral.com/meshagents?script=1" && \ |
17 | | - chmod +x /opt/meshinstall.sh |
18 | | - |
19 | 19 | COPY --chown=user files/autostart /media/user/.config/autostart |
20 | 20 |
|
21 | 21 | COPY files/start-desktop.sh /opt/start-desktop.sh |
|
0 commit comments