-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (21 loc) · 718 Bytes
/
Dockerfile
File metadata and controls
24 lines (21 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM golang:1.7.3
MAINTAINER Berk Gokden "berkgokden@gmail.com"
#To build: docker build -t berkgokden/aws-docker-machine-scripts:0.1 .
# I need the latest version of docker-machine
RUN go get github.com/golang/lint/golint \
github.com/mattn/goveralls \
golang.org/x/tools/cover
RUN mkdir /root/docker-machine && \
cd /root/docker-machine && \
export GOPATH="$PWD" && \
go get github.com/docker/machine && \
cd src/github.com/docker/machine && \
make build && \
cp bin/docker-machine /usr/local/bin/docker-machine && \
rm -rf /root/docker-machine
RUN chmod +x /usr/local/bin/docker-machine
# my scripts..
WORKDIR /scripts
ADD env.sh .
ADD createcluster.sh .
ADD rmcluster.sh .