Merge pull request #3 from szakharchenko/feat-add-dockerfile

add convenience Dockerfile
This commit is contained in:
2022-10-17 17:30:23 +03:00
committed by GitHub
+24
View File
@@ -0,0 +1,24 @@
ARG BASE_IMAGE=ubuntu:20.04
FROM ${BASE_IMAGE} AS builder
WORKDIR /build
ARG BUILD_PACKAGES='\
git \
g++ \
make \
libdw-dev \
libunwind-dev \
libiberty-dev \
'
RUN apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $BUILD_PACKAGES
COPY ./include ./include
COPY ./src ./src
COPY ./tests ./tests
COPY Makefile Makefile
RUN make all