Skip to content

Commit

Permalink
Added rpm to build, well, rpms
Browse files Browse the repository at this point in the history
  • Loading branch information
febbraro committed Nov 9, 2017
1 parent f30bd77 commit b52afd6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ RUN wget https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.2.tar.gz \
&& ./configure --prefix=/usr/local \
&& make \
&& make install
RUN gem install --no-rdoc --no-ri fpm

# Install fpm for package building
RUN apt-get install -y rpm \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists \
&& gem install --no-rdoc --no-ri fpm

# Back to the Go thingies
WORKDIR /go
RUN go get -u github.com/golang/dep/... \
&& go get -u github.com/alecthomas/gometalinter \
&& go get -u github.com/goreleaser/goreleaser

RUN gometalinter --install --update

0 comments on commit b52afd6

Please sign in to comment.