blob: 5232854f4c16ca7c0251418456c7fe3f87ec9515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
FROM debian:stretch-backports
COPY erp18.06.list /tmp/
RUN apt update \
&& echo "Package: *" >> /etc/apt/preferences.d/89_stretch-backports_default \
&& echo "Pin: release n=stretch-backports" >> /etc/apt/preferences.d/89_stretch-backports_default \
&& echo "Pin-Priority: 500" >> /etc/apt/preferences.d/89_stretch-backports_default \
&& apt upgrade -y \
&& apt dist-upgrade -y --no-install-recommends \
&& apt install -y --no-install-recommends curl gnupg \
&& curl http://obs.linaro.org/ERP:/18.06/Debian_9/Release.key | apt-key add - \
&& mv /tmp/erp18.06.list /etc/apt/sources.list.d/ \
&& apt update \
&& apt install -y --no-install-recommends \
git \
ca-certificates \
netbase \
lsb-release \
patch \
python virtualenv \
sudo
|