Adam Stankiewicz | 30c58d5 | 2020-07-22 15:34:40 +0200 | [diff] [blame] | 1 | FROM ubuntu:20.04 |
| 2 | |
| 3 | RUN apt-get update && DEBIAN_FRONTEND=noninteractive \ |
| 4 | apt-get install -y libpam0g-dev libssl-dev zlib1g-dev pkg-config xxd cmake \ |
| 5 | libgtest-dev libgmock-dev ninja-build python3 autoconf-archive autoconf \ |
| 6 | build-essential git libsystemd-dev systemd python3-wheel python3-pip \ |
| 7 | python3-yaml python3-mako python3-inflection python3-setuptools && \ |
| 8 | pip3 install meson |
| 9 | |
| 10 | ADD . /source |
| 11 | |
| 12 | RUN mkdir -p /build && cd /build && cmake -DYOCTO_DEPENDENCIES=OFF /source && \ |
| 13 | cmake --build . && rm -rf /source |
| 14 | |
| 15 | WORKDIR /build |