Skip to content

Commit

Permalink
Merge pull request #235 from timoreimann/upstream-optimize-dockerfile…
Browse files Browse the repository at this point in the history
…-for-build-cache

Optimize Dockerfile for build cache.
  • Loading branch information
j1n6 authored May 8, 2017
2 parents 7acac5a + 7f8f518 commit 61c92ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ RUN apt-get update -yqq && \
apt-get install -yqq haproxy -t jessie-backports-1.5 && \
rm -rf /var/lib/apt/lists/*

ADD . /go/src/github.com/QubitProducts/bamboo
ADD builder/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD builder/run.sh /run.sh

WORKDIR /go/src/github.com/QubitProducts/bamboo

RUN go get github.com/tools/godep && \
go get -t github.com/smartystreets/goconvey && \
go build && \
go get -t github.com/smartystreets/goconvey

ADD . /go/src/github.com/QubitProducts/bamboo

RUN go build && \
ln -s /go/src/github.com/QubitProducts/bamboo /var/bamboo && \
mkdir -p /run/haproxy && \
mkdir -p /var/log/supervisor
Expand Down

0 comments on commit 61c92ca

Please sign in to comment.