Skip to content

Commit efa0d54

Browse files
committed
Initial commit
0 parents  commit efa0d54

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
curl -L -o /tmp/docker-$DOCKER_VERSION.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz
3+
tar -xz -C /tmp -f /tmp/docker-$DOCKER_VERSION.tgz
4+
mv /tmp/docker/* /usr/bin
5+
rm /tmp/docker-$DOCKER_VERSION.tgz

0 commit comments

Comments
 (0)