summaryrefslogtreecommitdiff
path: root/obs_example/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'obs_example/Dockerfile')
-rw-r--r--obs_example/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/obs_example/Dockerfile b/obs_example/Dockerfile
new file mode 100644
index 0000000..56101f2
--- /dev/null
+++ b/obs_example/Dockerfile
@@ -0,0 +1,19 @@
+FROM opensuse:latest
+
+# Make obs_pkg_mgr available
+ARG OBS_REPOSITORY_URL
+ADD obs_pkg_mgr /usr/bin/obs_pkg_mgr
+RUN chmod +x /usr/bin/obs_pkg_mgr
+
+RUN obs_pkg_mgr add_repo http://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_Leap_42.2/ "Virtualization:Containers (openSUSE_Leap_42.2)" && ls ; obs_pkg_mgr add_repo http://example.com/my_project:/mysubproject/my_package/ "My example project" && ls
+
+RUN obs_pkg_mgr install util-linux calcurse # amarok
+RUN obs_pkg_mgr install awk gcc \
+ which
+
+RUN ls # irrelevant command before additional dependencies
+
+RUN obs_pkg_mgr install glibc \
+ file-magic && ls ; ls -la ; obs_pkg_mgr install nethogs
+
+RUN obs_pkg_mgr install ssh-contact dumb-init; ls && ls -la