Files
yankee-downloader-desktop/Dockerfile
2025-02-09 20:29:43 -05:00

58 lines
1.2 KiB
Docker
Executable File

FROM softwareshinobi/shinobi-academy-desktop AS desktopBase
##
WORKDIR /
COPY /provision /
#### install the NY Giants background ####
COPY /provision/media/Backgrounds/desktop.png /usr/share/lxqt/themes/light/simple_blue_widescreen.png
COPY /provision/media/Backgrounds/desktop.png /usr/local/share/doro-lxde-wallpapers/bg1.jpg
COPY /provision/media/Backgrounds/desktop.png /usr/local/share/doro-lxde-wallpapers/bg2.jpg
COPY /provision/media/Backgrounds/desktop.png /usr/local/share/doro-lxde-wallpapers/bg3.jpg
COPY /provision/media/Backgrounds/desktop.png /usr/local/share/doro-lxde-wallpapers/bg4.jpg
RUN ls -lha /
RUN ls -lha /usr/share/lxqt/themes/light/simple_blue_widescreen.png
#### install the NY Giants background ####
RUN bash installs/gnomedownloader.bash
RUN bash installs/sshserver.bash
RUN bash installs/cron.bash
##
COPY provision/startup/startup.sh /startup.sh
##
####
COPY ping.script /tmp/ping.bash
RUN chmod +x /tmp/ping.bash
COPY ping2.script /tmp/ping2.bash
RUN chmod +x /tmp/ping2.bash
RUN ls -lha /tmp/
####
COPY cronfile /etc/cron.d/cronfile
# Give execution rights on the cron job
RUN chmod 0644 /etc/cron.d/cronfile
# Apply the cron job
RUN crontab -u root /etc/cron.d/cronfile