-
Notifications
You must be signed in to change notification settings - Fork 37
/
Dockerfile.alpine
18 lines (18 loc) · 1.02 KB
/
Dockerfile.alpine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM alpine:3.12
RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/v3.12/community" >> /etc/apk/repositories
RUN apk add --no-cache build-base libffi-dev openssl-dev python3-dev curl krb5-dev linux-headers zeromq-dev lapack-dev blas-dev redis
RUN apk add cmake gcc libxml2 automake g++ subversion libxml2-dev libxslt-dev gfortran jpeg-dev py3-pip
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install wheel
RUN python3 -m pip install certifi==2020.06.20
RUN apk add py3-scipy py3-numpy-dev
COPY server/requirements.txt /install/server/
RUN python3 -m pip install -r /install/server/requirements.txt
COPY vehicle/requirements.txt /install/vehicle/
RUN python3 -m pip install -r /install/vehicle/requirements.txt
RUN apk add tmux vim mercurial
RUN python3 -m pip install adafruit-circuitpython-mcp230xx coloredlogs
RUN apk add iw
RUN apk add raspberrypi; exit 0 # Only succeeds on raspberry pi but not needed otherwise.
RUN python3 -m pip install pytest coverage[toml]
RUN apk add --no-cache bash # required by codecov GH action