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 \ |
Manojkiran Eda | 2e4c21f | 2020-10-08 11:58:36 +0530 | [diff] [blame] | 6 | build-essential git libsystemd-dev systemd libtinyxml2-dev python3-wheel python3-pip \ |
Adam Stankiewicz | 30c58d5 | 2020-07-22 15:34:40 +0200 | [diff] [blame] | 7 | python3-yaml python3-mako python3-inflection python3-setuptools && \ |
| 8 | pip3 install meson |
| 9 | |
| 10 | ADD . /source |
| 11 | |
Manojkiran Eda | 2e4c21f | 2020-10-08 11:58:36 +0530 | [diff] [blame] | 12 | RUN cd source && meson setup build && \ |
| 13 | meson compile -C build |
Adam Stankiewicz | 30c58d5 | 2020-07-22 15:34:40 +0200 | [diff] [blame] | 14 | |
| 15 | WORKDIR /build |