-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
25 lines (20 loc) · 1.03 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM ubuntu:18.04
MAINTAINER Szilárd Pfeiffer "[email protected]"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends git-core openssh-client \
&& apt-get install -y --no-install-recommends build-essential ca-certificates \
&& apt-get install -y --no-install-recommends automake autoconf autoconf-archive libtool \
&& apt-get install -y --no-install-recommends devscripts equivs \
&& apt-get install -y --no-install-recommends gpg-agent gnupg2
RUN apt-get install -y --no-install-recommends wget \
&& wget -q -O - "http://download.opensuse.org/repositories/openSUSE:Tools/xUbuntu_18.04/Release.key" | apt-key add - \
&& echo "deb [trusted=yes] http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_18.04/ /" >/etc/apt/sources.list.d/obs.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends osc \
&& apt-get purge -y wget
RUN apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/tmp/* \
&& rm -rf /tmp/*