Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SRE-1182 Removing the zip file extention #6

Merged
merged 1 commit into from
Dec 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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