summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2016-12-05 15:42:49 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2016-12-05 15:46:59 +0400
commitec568fdb37d280371733cab5e9fad030557f6921 (patch)
tree929442432232c47cbb60e97c6e1f0206d9504408
parent5c1fab9e0498e4bea6a5df1a22c25d915b2dbea7 (diff)
[fuel-plugin] Run apt-get update before install
Run apt-get update explicitly before packages install inside docker image. Change-Id: Id2f933d3743771ddb3e180267d3bce4b14931cce Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
-rw-r--r--fuel-plugin/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuel-plugin/Dockerfile b/fuel-plugin/Dockerfile
index 2b7335e0f..af8d1c0eb 100644
--- a/fuel-plugin/Dockerfile
+++ b/fuel-plugin/Dockerfile
@@ -2,6 +2,6 @@
FROM ubuntu:16.04
-RUN apt-get install -y sudo
+RUN apt-get update -y && apt-get install -y sudo
RUN echo "ALL ALL=NOPASSWD: ALL" > /etc/sudoers.d/open-sudo
RUN chmod 0440 /etc/sudoers.d/open-sudo