-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Qiu Yu
committed
Apr 17, 2015
0 parents
commit 7452df7
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM jpetazzo/dind:latest | ||
MAINTAINER Qiu Yu <unicell@gmail.com> | ||
|
||
ENV LOG file | ||
|
||
RUN apt-get update -q | ||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections | ||
|
||
# fix: `stdin: is not a tty` message | ||
RUN sed -i 's/^mesg n$/tty -s \&\& mesg n/g' /root/.profile | ||
RUN apt-get install -y make | ||
|
||
RUN curl -sSL https://golang.org/dl/go1.3.3.linux-amd64.tar.gz | tar -v -C $HOME -xz | ||
ENV GOROOT ~/go | ||
ENV GOPATH ~/gocode | ||
ENV PATH $PATH:$GOROOT/bin:$GOPATH/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Docker-in-Docker with Golang installed | ||
|
||
This is a Drone test image with Docker-in-Docker and Golang ready |