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
|
FROM debian:testing-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN mkdir -p /tmp/build
WORKDIR /tmp/build
RUN apt-get update \
&& apt-get --no-install-recommends -y install \
# Build dependencies
build-essential \
cmake \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
pkg-config \
# Run time dependencies
libssl1.1 \
libcurl4 \
libxml2 \
# Optionals handy for testing within the container
bash-completion \
ca-certificates \
xclip
COPY . /tmp/build/
RUN make \
&& make test \
&& make install
|