From efcb93606d826bf4c08ebae06c84ab672542afb7 Mon Sep 17 00:00:00 2001 From: Nemo Date: Thu, 17 May 2018 01:58:54 +0530 Subject: [PATCH] hadolint recommendations --- Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd61b26..6085fe3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,7 @@ -FROM ubuntu:latest +# LTS Image +FROM ubuntu:18.04 + +LABEL maintainer="github.google-sre-ebook@captnemo.in" ARG DEBIAN_FRONTEND="noninteractive" @@ -15,7 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ wget \ zlib1g-dev \ && gem install bundler --no-ri --no-rdoc \ - && bundle install + && bundle install \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["/src/bootstrap.sh", "docker"]