File: Dockerfile

package info (click to toggle)
obs-build 20180831-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,396 kB
  • sloc: perl: 10,030; sh: 3,142; ansic: 284; makefile: 151; python: 35
file content (19 lines) | stat: -rw-r--r-- 729 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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