From 9c1a48082831f9c8a8b062fc759b350ff59c184f Mon Sep 17 00:00:00 2001 From: Shubham Bhattar Date: Sat, 20 Oct 2018 23:56:38 +0530 Subject: [PATCH] Used ADD to download the file and put it in destination. --- sample-project/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sample-project/Dockerfile b/sample-project/Dockerfile index f228b33..1a095d0 100644 --- a/sample-project/Dockerfile +++ b/sample-project/Dockerfile @@ -3,7 +3,5 @@ FROM ubuntu:14.04 # installs Dockito Vault ONVAULT utility # https://github.com/dockito/vault -RUN apt-get update -y && \ - apt-get install -y curl && \ - curl -L https://raw.githubusercontent.com/dockito/vault/master/ONVAULT > /usr/local/bin/ONVAULT && \ - chmod +x /usr/local/bin/ONVAULT +ADD https://raw.githubusercontent.com/dockito/vault/master/ONVAULT /usr/local/bin/ONVAULT +RUN chmod +x /usr/local/bin/ONVAULT