From e26d30f0a113a51148ea148bfca840bae19e53ff Mon Sep 17 00:00:00 2001 From: Ian Bartholomew Date: Thu, 8 Dec 2022 13:24:25 -0800 Subject: [PATCH] Removing the zip file extention to reflect the chagnes in the sloctl (#6) 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