2021-02-24 20:36:27 +00:00
|
|
|
FROM ubuntu:rolling
|
|
|
|
|
|
|
|
# Needed to prevent ubuntu from showing interactive
|
|
|
|
# dialog when e.g. installing tzdata
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2021-02-24 20:41:48 +00:00
|
|
|
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
|
2021-02-24 20:36:27 +00:00
|
|
|
# Base dependencies for: `git push` xwim build
|
|
|
|
## meson/build essentials
|
|
|
|
build-essential cmake pkg-config meson ninja-build g++ doxygen git \
|
|
|
|
## test coverage generator
|
|
|
|
gcovr \
|
|
|
|
## xwim dependencies
|
|
|
|
libspdlog-dev libfmt-dev libarchive-dev libtclap-dev \
|
|
|
|
# Dependencies for release build/libarchive build
|
|
|
|
zip \
|
|
|
|
&& mkdir /build/
|
|
|
|
|
|
|
|
COPY ./entrypoint.sh /usr/local/bin
|
|
|
|
|
|
|
|
WORKDIR /build/
|
|
|
|
|
|
|
|
CMD ["entrypoint.sh"]
|