We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit efa0d54Copy full SHA for efa0d54
2 files changed
Dockerfile
@@ -0,0 +1,7 @@
1
+FROM node:8.9-alpine
2
+
3
+ENV DOCKER_VERSION 17.09.1-ce
4
+ENV HEROKU_CLI_PLATFORM linux-x64
5
6
+COPY install-docker-cli.sh .
7
+RUN apk update && apk add --no-cache curl git openssh-client && ./install-docker-cli.sh && npm install -g heroku-cli
install-docker-cli.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+curl -L -o /tmp/docker-$DOCKER_VERSION.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz
+tar -xz -C /tmp -f /tmp/docker-$DOCKER_VERSION.tgz
+mv /tmp/docker/* /usr/bin
+rm /tmp/docker-$DOCKER_VERSION.tgz
0 commit comments