Permalink
Browse files

Fixes

  • Loading branch information...
sGerli committed Jan 31, 2017
1 parent 8a917b5 commit 925d20b7c8e76b198696fffcdd1a054643a2e84c
Showing with 5 additions and 0 deletions.
  1. +2 −0 Dockerfile.template
  2. +3 −0 debian-pinning
View
@@ -3,6 +3,8 @@ FROM resin/%%RESIN_MACHINE_NAME%%-node:6.9.2
# debian httpredir mirror proxy often ends up with 404s - editing source file to avoid it
RUN sed -i "s!httpredir.debian.org!`curl -s -D - http://httpredir.debian.org/demo/debian/ | awk '/^Link:/ { print $2 }' | sed -e 's@<http://\(.*\)/debian/>;@\1@g'`!" /etc/apt/sources.list
COPY debian-pinning /etc/apt/preferences.d/
# Install other apt deps
RUN apt-get update && apt-get install -y \
apt-utils \
View
@@ -0,0 +1,3 @@
Package: *
Pin: release o=Debian
Pin-Priority: 900

0 comments on commit 925d20b

Please sign in to comment.