From 7a8cc2687df868176563d56a9bda28f7b25591cc Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 11 Dec 2017 22:56:34 -0500 Subject: [PATCH] fix: ensure we call apt-get update when calling apt-get install --- contrib/build.Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/build.Dockerfile b/contrib/build.Dockerfile index 17ec3137d..57cbcd89a 100644 --- a/contrib/build.Dockerfile +++ b/contrib/build.Dockerfile @@ -2,8 +2,7 @@ FROM ubuntu:14.04 ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update -RUN apt-get -y install gcc git build-essential wget ruby-dev ruby1.9.1 lintian rpm help2man man-db +RUN apt-get update && apt-get -y install gcc git build-essential wget ruby-dev ruby1.9.1 lintian rpm help2man man-db RUN command -v fpm > /dev/null || sudo gem install fpm --no-ri --no-rdoc ARG GOLANG_VERSION