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 | |
Laszlo Kiraly | 987318e | 2022-09-02 14:08:36 +0200 | [diff] [blame^] | 4 | ARG SUSE_VERSION=15.4 |
Laszlo Kiraly | e560085 | 2021-11-02 11:07:19 +0100 | [diff] [blame] | 5 | |
| 6 | FROM opensuse/leap:${SUSE_VERSION} as vppbuild |
| 7 | COPY . /vpp |
| 8 | WORKDIR /vpp |
Laszlo Kiraly | 987318e | 2022-09-02 14:08:36 +0200 | [diff] [blame^] | 9 | RUN zypper refresh |
Laszlo Kiraly | e560085 | 2021-11-02 11:07:19 +0100 | [diff] [blame] | 10 | RUN zypper install -y make sudo |
| 11 | COPY . . |
| 12 | RUN UNATTENDED=y make install-dep |
| 13 | RUN ln -s /usr/bin/cmake /usr/bin/cmake3 |
| 14 | RUN UNATTENDED=y make install-ext-deps |
| 15 | RUN make pkg-rpm |
Laszlo Kiraly | bf91b48 | 2022-04-06 16:25:32 +0200 | [diff] [blame] | 16 | CMD ["/bin/bash"] |