Skip to content

Commit

Permalink
Fixed builder image and added docs for it
Browse files Browse the repository at this point in the history
  • Loading branch information
Jussi Nummelin committed Sep 9, 2015
1 parent 0c213c9 commit a03a3f5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bin
vendor
pkg
2 changes: 1 addition & 1 deletion Dockerfile.build.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ RUN apk-install bash go bzr git mercurial subversion openssh-client ca-certifica
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
ENV GOPATH /go
ENV PATH /go/bin:$PATH
WORKDIR /go
WORKDIR /app
RUN go get github.com/constabulary/gb/...
10 changes: 10 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ $ ./build
$ sudo ./install
```

#### Building from Source for Alpine Linux

Since many people are using Alpine Linux as their base images for Docker there's support to build Alpine package also. Naturally by using Docker itself. :)

```
$ docker build -t confd_builder -f Dockerfile.build.alpine .
$ docker run -ti -v $(pwd):/app confd_builder ./build
```
The above docker commands will produce binary in the local bin directory.

### Next Steps

Get up and running with the [Quick Start Guide](quick-start-guide.md).

0 comments on commit a03a3f5

Please sign in to comment.