47ca27134a490a4e3f64c6ec46638615dbd58c2c
[vpp.git] / extras / rpm / opensuse / Dockerfile
1 # Run from top of vpp repo with command:
2 # docker build -f extras/rpm/opensuse/Dockerfile .
3
4 ARG SUSE_VERSION=15.3
5
6 FROM opensuse/leap:${SUSE_VERSION} as vppbuild
7 COPY . /vpp
8 WORKDIR /vpp
9 RUN zypper install -y make sudo
10 COPY . .
11 RUN UNATTENDED=y make install-dep
12 RUN ln -s /usr/bin/cmake /usr/bin/cmake3
13 RUN UNATTENDED=y make install-ext-deps
14 RUN make pkg-rpm
15 CMD ["/bin/bash"]