fix: ensure we call apt-get update when calling apt-get install

This commit is contained in:
Jose Diaz-Gonzalez
2017-12-11 22:56:34 -05:00
parent 96ad5e8e5d
commit 7a8cc2687d

View File

@@ -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