Skip to content

Commit

Permalink
Removing the zip file extention to reflect the chagnes in the sloctl (#6
Browse files Browse the repository at this point in the history
)

release process
  • Loading branch information
ian-bartholomew authored Dec 8, 2022
1 parent b8e0254 commit e26d30f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e26d30f

Please # to comment.