Browse Source

Update

tags/v0.0.57^0
Peter Vivell 6 years ago
parent
commit
5bdae8defb
1 changed files with 4 additions and 5 deletions
  1. 4
    5
      Dockerfile

+ 4
- 5
Dockerfile View File

6
 # ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
6
 # ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
7
 # ENV HOME /
7
 # ENV HOME /
8
 
8
 
9
+# Define Debian repos
9
 ARG DEB_RELEASE
10
 ARG DEB_RELEASE
10
 RUN printf '#------------------------------------------------------------------------------#\
11
 RUN printf '#------------------------------------------------------------------------------#\
11
 \n#                   OFFICIAL DEBIAN REPOS\
12
 \n#                   OFFICIAL DEBIAN REPOS\
23
 \ndeb     http://deb.debian.org/debian-security	'${DEB_RELEASE}'/updates		main\
24
 \ndeb     http://deb.debian.org/debian-security	'${DEB_RELEASE}'/updates		main\
24
 \ndeb-src http://deb.debian.org/debian-security	'${DEB_RELEASE}'/updates		main\
25
 \ndeb-src http://deb.debian.org/debian-security	'${DEB_RELEASE}'/updates		main\
25
 \n\
26
 \n\
26
-\n# stretch-backports, previously on backports.debian.org\n\
27
+\n# stretch-backports, previously on backports.debian.org\
27
 \ndeb     http://ftp.debian.org/debian		'${DEB_RELEASE}'-backports	main\
28
 \ndeb     http://ftp.debian.org/debian		'${DEB_RELEASE}'-backports	main\
28
 \ndeb-src http://ftp.debian.org/debian		'${DEB_RELEASE}'-backports	main\
29
 \ndeb-src http://ftp.debian.org/debian		'${DEB_RELEASE}'-backports	main\
29
-' >> /etc/apt/sources.list
30
-
31
-RUN cat /etc/apt/sources.list
32
-
30
+\n' > /etc/apt/sources.list
33
 
31
 
34
 # Build deps and clean up
32
 # Build deps and clean up
35
 ARG BUILD_DEPS
33
 ARG BUILD_DEPS
37
     dpkg --add-architecture armhf && \
35
     dpkg --add-architecture armhf && \
38
     apt-get -q  update && \
36
     apt-get -q  update && \
39
     apt-get -qy -o Dpkg::Use-Pty=0 upgrade && \
37
     apt-get -qy -o Dpkg::Use-Pty=0 upgrade && \
38
+    apt-get -qy -o Dpkg::Use-Pty=0 install --no-install-recommends apt-utils && \
40
     apt-get -qy -o Dpkg::Use-Pty=0 install --no-install-recommends ${BUILD_DEPS} \
39
     apt-get -qy -o Dpkg::Use-Pty=0 install --no-install-recommends ${BUILD_DEPS} \
41
         build-essential crossbuild-essential-armhf debhelper ca-certificates curl git iproute2 wget nano && \
40
         build-essential crossbuild-essential-armhf debhelper ca-certificates curl git iproute2 wget nano && \
42
     apt-get clean && rm -rf /var/lib/apt/lists/*
41
     apt-get clean && rm -rf /var/lib/apt/lists/*

Loading…
Cancel
Save