summaryrefslogtreecommitdiffstats
path: root/extras/rpm/opensuse/Dockerfile
diff options
context:
space:
mode:
authorLaszlo Kiraly <laszlo.kiraly@est.tech>2021-11-02 11:07:19 +0100
committerBeno�t Ganne <bganne@cisco.com>2021-11-19 15:06:08 +0000
commite56008519b87d7ac8d4e5e5cce7be3233ee1727b (patch)
tree5302811438e902f9647a0d2487475ecb37a168ef /extras/rpm/opensuse/Dockerfile
parent6fdcc3daa40ebfcb793998b6e4527dd6db03cfb7 (diff)
build: (opensuse) Revert build remove opensuse build infra
Added missing deps Removed Thumbleweed support Changed python2 to python3 Added Dockerfile for suse-leap build Type: make Change-Id: Ie73d2382a73ebc9d4475ace1a8f818fe38cf40c0 Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
Diffstat (limited to 'extras/rpm/opensuse/Dockerfile')
-rw-r--r--extras/rpm/opensuse/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/extras/rpm/opensuse/Dockerfile b/extras/rpm/opensuse/Dockerfile
new file mode 100644
index 00000000000..032c5d139ba
--- /dev/null
+++ b/extras/rpm/opensuse/Dockerfile
@@ -0,0 +1,15 @@
+# Run from top of vpp repo with command:
+# docker build -f extras/rpm/opensuse/Dockerfile .
+
+ARG SUSE_VERSION=15.3
+
+FROM opensuse/leap:${SUSE_VERSION} as vppbuild
+COPY . /vpp
+WORKDIR /vpp
+RUN zypper install -y make sudo
+COPY . .
+RUN UNATTENDED=y make install-dep
+RUN ln -s /usr/bin/cmake /usr/bin/cmake3
+RUN UNATTENDED=y make install-ext-deps
+RUN make pkg-rpm
+CMD ["/bin/bash"] \ No newline at end of file