Laszlo Kiraly | e560085 | 2021-11-02 11:07:19 +0100 | [diff] [blame^] | 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"] |