forked from lomorage/lomo-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (17 loc) · 1010 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM balenalib/raspberrypi3
RUN apt-get update && \
apt-get -qy install ca-certificates apt-transport-https wget systemd
RUN wget -qO - https://raw.githubusercontent.com/lomoware/lomoware.github.io/master/debian/gpg.key | sudo apt-key add -
RUN echo "deb https://lomoware.github.io/debian/buster buster main" | sudo tee /etc/apt/sources.list.d/lomoware.list
RUN apt-get update && apt-get -qy install lomo-vips
RUN apt-get update && apt-get -qy install nfs-common ffmpeg util-linux rsync jq libimage-exiftool-perl avahi-utils avahi-daemon
RUN apt-get update && apt-get -qy install lomo-backend-docker
RUN apt-get update && apt-get -qy install lomo-web
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
RUN apt-get update && apt-get -qy install cron psmisc
COPY update-lomod.sh /usr/bin/update-lomod.sh
COPY update-lomod-cron /etc/cron.d/update-lomod-cron
RUN crontab /etc/cron.d/update-lomod-cron
RUN touch /var/log/cron.log
COPY entry.sh /usr/bin/entry.sh
CMD ["/bin/bash", "/usr/bin/entry.sh"]