Change Dockerfile to install required packages for linux serial.h (fixes #103)

This commit is contained in:
JP Meijers 2024-02-21 16:15:17 +02:00 committed by GitHub
parent 5b59f5b92f
commit a5239439e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
FROM alpine:latest AS build
RUN apk add --no-cache alpine-sdk cmake
RUN apk add --no-cache alpine-sdk cmake linux-headers
COPY . /mbusd
WORKDIR /mbusd/build
RUN cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make && make install