forked from InstaPy/instapy-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfilearm
36 lines (29 loc) · 799 Bytes
/
Dockerfilearm
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
35
36
FROM resin/rpi-raspbian:latest
RUN [ "cross-build-start" ]
WORKDIR /code
RUN apt-get update \
&& apt-get install -y --no-install-recommends --no-install-suggests \
wget \
gcc \
g++ \
python3 \
python3-pip \
libudev-dev \
libcurl4-openssl-dev \
libssl-dev \
chromium-browser
RUN python3 -m pip install --user instapy \
&& python3 -m pip uninstall instapy-chromedriver \
&& python3 -m pip install --user instapy-chromedriver==2.36.post0 \
&& pip3 install instapy -U
RUN touch docker_quickstart.py \
&& mkdir -p InstaPy \
&& mkdir -p InstaPy/assets
RUN apt-get purge -y --auto-remove \
gcc \
g++ \
wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/requirements.txt
CMD ["python", "docker_quickstart.py"]
RUN [ "cross-build-end" ]