chore(codefresh): add a step to download docker binary (#1283)

pull/1287/head
Anthony Lapenna 7 years ago committed by GitHub
parent dc48fa685f
commit 8ec7b4fcf5

@ -18,9 +18,17 @@ steps:
- grunt build-webapp - grunt build-webapp
- mv api/cmd/portainer/portainer dist/ - mv api/cmd/portainer/portainer dist/
download_docker_binary:
image: busybox
working_directory: ${{build_frontend}}
commands:
- wget -O /tmp/docker-binaries.tgz https://download.docker.com/linux/static/stable/x86_64/docker-${{DOCKER_VERSION}}.tgz
- tar -xf /tmp/docker-binaries.tgz -C /tmp
- mv /tmp/docker/docker dist/
build_image: build_image:
type: build type: build
working_directory: ${{build_frontend}} working_directory: ${{download_docker_binary}}
dockerfile: ./build/linux/Dockerfile dockerfile: ./build/linux/Dockerfile
image_name: portainer/portainer image_name: portainer/portainer
tag: ${{CF_BRANCH}} tag: ${{CF_BRANCH}}

Loading…
Cancel
Save