Browse code

dont try to install journald driver on wheezy

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Jessica Frazelle <acidburn@docker.com>

Sebastiaan van Stijn authored on 2016/02/05 00:22:23
Showing 2 changed files
... ...
@@ -4,7 +4,7 @@
4 4
 
5 5
 FROM debian:wheezy-backports
6 6
 
7
-RUN apt-get update && apt-get install -y -t wheezy-backports btrfs-tools libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
7
+RUN apt-get update && apt-get install -y -t wheezy-backports btrfs-tools --no-install-recommends && rm -rf /var/lib/apt/lists/*
8 8
 RUN apt-get update && apt-get install -y apparmor bash-completion  build-essential curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev  libsqlite3-dev pkg-config  --no-install-recommends && rm -rf /var/lib/apt/lists/*
9 9
 
10 10
 ENV GO_VERSION 1.5.3
... ...
@@ -63,7 +63,7 @@ for version in "${versions[@]}"; do
63 63
 	)
64 64
 	# packaging for "sd-journal.h" and libraries varies
65 65
 	case "$suite" in
66
-		precise) ;;
66
+		precise|wheezy) ;;
67 67
 		sid|stretch|wily) packages+=( libsystemd-dev );;
68 68
 		*) packages+=( libsystemd-journal-dev );;
69 69
 	esac