Skip to content

Commit

Permalink
feat: download skope and zstd from sd-packages (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
pritamstyz4ever authored Jun 8, 2021
1 parent f43de06 commit 87809c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,16 @@ RUN set -x \
&& mv sonar-scanner-*-linux sonarscanner-cli-linux \
&& mv sonar-scanner-*-macosx sonarscanner-cli-macosx \
# Install skope
&& wget -q -O skopeo-linux.tar.gz 'https://bintray.com/screwdrivercd/screwdrivercd/download_file?file_path=skopeo-1.0.0-linux.tar.gz' \
&& wget -q -O skopeo-linux.tar.gz 'https://github.com/screwdriver-cd/sd-packages/releases/download/v0.0.30/skopeo-linux.tar.gz' \
&& tar -C . -ozxvf skopeo-linux.tar.gz \
&& chmod +x skopeo \
# Install zstd
&& wget -q -O zstd-cli-linux.tar.gz 'https://bintray.com/screwdrivercd/screwdrivercd/download_file?file_path=zstd-cli-1.4.8-linux.tar.gz' \
&& wget -q -O zstd-cli-macosx.tar.gz 'https://bintray.com/screwdrivercd/screwdrivercd/download_file?file_path=zstd-cli-1.4.8-macosx.tar.gz' \
&& wget -q -O zstd-cli-linux.tar.gz 'https://github.com/screwdriver-cd/sd-packages/releases/download/v0.0.30/zstd-cli-linux.tar.gz' \
&& wget -q -O zstd-cli-macosx.tar.gz 'https://github.com/screwdriver-cd/sd-packages/releases/download/v0.0.30/zstd-cli-macosx.tar.gz' \
&& tar -C . -ozxvf zstd-cli-linux.tar.gz \
&& mv zstd zstd-cli-linux \
&& tar -C . -ozxvf zstd-cli-macosx.tar.gz \
&& mv zstd zstd-cli-macosx \
&& chmod +x zstd-cli-linux \
&& chmod +x zstd-cli-macosx \
# Cleanup Habitat Files
Expand Down
2 changes: 1 addition & 1 deletion habitat/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ scaffolding_go_base_path="github.com/screwdriver-cd"
scaffolding_go_build_deps=(
github.com/creack/pty
github.com/urfave/cli
gopkg.in/myesui/uuid.v1
github.com/google/uuid
gopkg.in/fatih/color.v1
)

Expand Down

0 comments on commit 87809c3

Please sign in to comment.