From 827e3b231e43f7522dd43e18a10ede9868dbae0d Mon Sep 17 00:00:00 2001 From: ian-bartholomew Date: Thu, 8 Dec 2022 13:07:35 -0800 Subject: [PATCH] Removing the zip file extention to reflect the chagnes in the sloctl release process --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 13dc878..0876640 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,11 @@ RUN curl -s https://api.github.com/repos/nobl9/sloctl/releases/latest | \ grep "browser_download_url.*linux*" | \ cut -d : -f 2,3 | \ tr -d \" | \ - wget -O sloctl.zip -qi - + wget -O sloctl -qi - -# unzip and place the binary in the PATH -RUN unzip sloctl.zip && mv sloctl /usr/local/bin +# place the binary in the PATH +RUN chmod +x sloctl +RUN mv sloctl /usr/local/bin # Copy over our entrypoint file COPY entrypoint.sh /entrypoint.sh