File: Dockerfile

package info (click to toggle)
python-dlt 2.18.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 452 kB
  • sloc: python: 3,449; makefile: 55
file content (24 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ARG BASE_IMAGE=alpine:3.20

FROM ${BASE_IMAGE}

ARG LIBDLT_VERSION=v2.18.8

RUN set -ex \
    && apk add --no-cache build-base musl-dev linux-headers git cmake ninja \
      wget curl dbus zlib zlib-dev \
      python3 python3-dev py3-pip py3-tox \
    && git clone https://github.com/GENIVI/dlt-daemon \
    && cd /dlt-daemon \
    && git checkout ${LIBDLT_VERSION} \
    && cd /dlt-daemon \
    && cmake CMakeLists.txt \
    && make -j \
    && make install \
    && ldconfig /usr/local/lib

RUN mkdir -p /workspace

WORKDIR /workspace

# vim: set ft=dockerfile :