Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Dockerfile update - install rancher-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Speckmaier committed Sep 26, 2018
1 parent 500aee5 commit 0c8cb2d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM php:7.2-cli-alpine

ARG DOCKER_COMPOSE_VERSION=1.21.2
ARG RANCHER_COMPOSE_VERSION=0.12.5
ARG RANCHER_CLI_VERSION=0.6.9
ARG RANCHERIZE_HOME=/home/rancherize
ARG DEFAULT_EDITOR=vi

Expand Down Expand Up @@ -35,10 +36,11 @@ RUN curl -sSL "https://github.com/rancher/rancher-compose/releases/download/v$RA
&& mv rancher-compose-*/rancher-compose /usr/local/bin/ \
&& cp /usr/local/bin/rancher-compose /usr/local/bin/rancher-compose-$RANCHER_COMPOSE_VERSION

RUN curl -sSL "https://github.com/rancher/rancher-compose/releases/download/v$RANCHER_COMPOSE_VERSION/rancher-compose-linux-amd64-v$RANCHER_COMPOSE_VERSION.tar.gz" \

RUN curl -sSL "https://releases.rancher.com/cli/v$RANCHER_CLI_VERSION/rancher-linux-amd64-v$RANCHER_CLI_VERSION.tar.gz" \
| tar xz \
&& mv rancher-compose-*/rancher-compose /usr/local/bin/ \
&& cp /usr/local/bin/rancher-compose /usr/local/bin/rancher-compose-$RANCHER_COMPOSE_VERSION
&& mv rancher-v*/rancher /usr/local/bin/ \
&& cp /usr/local/bin/rancher /usr/local/bin/rancher-$RANCHER_CLI_VERSION

COPY ["docker", "/opt/rancherize"]
COPY [".", "/opt/rancherize-package"]
Expand Down

0 comments on commit 0c8cb2d

Please sign in to comment.