forked from OctoPrint/octoprint-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (27 loc) · 850 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
27
28
29
30
31
32
33
34
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:buster
# Install Dependencies
RUN apt-get update && install_packages libavahi-compat-libdnssd1 \
zlib1g-dev libjpeg-dev \
python3-dev \
python3-wheel \
python3-pip \
python3-setuptools \
fontconfig \
libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libavfilter-dev libswscale-dev libswresample-dev \
libsrtp2-dev libsrtp2-1 libopus-dev libvpx-dev \
ffmpeg \
pkg-config \
python-dev python3-dev \
gcc g++ wget dosfstools \
imagemagick libv4l-dev \
git make cmake \
curl jq psmisc
# Update pip
RUN pip3 install --upgrade pip
# Install OctoPrint v1.7.3
RUN pip3 install OctoPrint==1.7.3
WORKDIR /usr/src/octoprint
# Seed the initial config.yaml
COPY ./config.yaml /data/config.yaml
COPY start.sh start.sh
CMD ["sh","start.sh"]