| 1 |
FROM alpine:3.17 |
| 2 |
|
| 3 |
ARG LIBDLT_VERSION=v2.18.8 |
| 4 |
|
| 5 |
RUN set -ex \ |
| 6 |
&& apk update \ |
| 7 |
&& apk add build-base musl-dev linux-headers git cmake ninja \ |
| 8 |
wget curl dbus zlib python3 py3-pip \ |
| 9 |
&& pip install --no-cache-dir tox virtualenv \ |
| 10 |
&& git clone https://github.com/GENIVI/dlt-daemon \ |
| 11 |
&& cd /dlt-daemon \ |
| 12 |
&& git checkout ${LIBDLT_VERSION} \ |
| 13 |
&& cd /dlt-daemon \ |
| 14 |
&& cmake CMakeLists.txt \ |
| 15 |
&& make -j \ |
| 16 |
&& make install \ |
| 17 |
&& ldconfig /usr/local/lib \ |
| 18 |
&& pip install --no-cache-dir git+https://github.com/bmwcarit/python-dlt |
| 19 |
|
| 20 |
# vim: set ft=dockerfile : |