xwim-build/Dockerfile

24 lines
623 B
Text
Raw Normal View History

2020-02-23 19:38:52 +00:00
FROM ubuntu:rolling
2020-02-16 02:03:02 +00:00
# Needed to prevent ubuntu from showing interactive
# dialog when e.g. installing tzdata
ARG DEBIAN_FRONTEND=noninteractive
2020-02-23 19:38:52 +00:00
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y\
2020-02-25 21:58:54 +00:00
# Base dependencies for: `git push` xwim build
2020-02-23 19:38:52 +00:00
## meson/build essentials
2020-07-31 22:39:08 +00:00
build-essential cmake pkg-config meson ninja-build g++ doxygen git \
2020-02-25 21:58:54 +00:00
## test coverage generator
gcovr \
2020-02-23 19:38:52 +00:00
## xwim dependencies
libspdlog-dev libfmt-dev libarchive-dev \
# Dependencies for release build/libarchive build
2020-02-23 19:38:52 +00:00
zip \
2020-02-16 02:03:02 +00:00
&& mkdir /build/
COPY ./entrypoint.sh /usr/local/bin
WORKDIR /build/
CMD ["entrypoint.sh"]