From 43822e3dd686b66bebf7dc0e6c8a5deefbf06ebf Mon Sep 17 00:00:00 2001 From: TheCakeIsNaOH <38865330+TheCakeIsNaOH@users.noreply.github.com> Date: Thu, 3 Oct 2019 20:56:17 -0500 Subject: [PATCH] (GH-1020) Docker add ChocolateyInstall Env Var The ChocolateyInstall environment variable is needed to for docker choco to not output a warning that it cannot find the Chocolatey lib directory and use a different path for packages depending on where the command is run from. Add the environment variable to make it available in the right location. --- docker/Dockerfile.linux | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile.linux b/docker/Dockerfile.linux index fdcd17f75d..24754056ba 100644 --- a/docker/Dockerfile.linux +++ b/docker/Dockerfile.linux @@ -14,4 +14,6 @@ RUN ln -s /usr/local/src/choco/code_drop/chocolatey COPY docker/choco_wrapper /usr/local/bin/choco +ENV ChocolateyInstall /usr/local/bin/chocolatey + WORKDIR /root