Skip to content

Commit

Permalink
dockerfile: syntax updates and s/xz/xz-utils
Browse files Browse the repository at this point in the history
This fixes the automated build on Quay.io.
  • Loading branch information
jzelinskie committed Jan 19, 2016
1 parent e834301 commit ea193d3
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
FROM golang:1.5
MAINTAINER Quentin Machu <quentin.machu@coreos.com>

RUN apt-get update && apt-get install -y bzr rpm xz && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update && \
apt-get install -y bzr rpm xz-utils && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN mkdir /db
VOLUME /db
VOLUME /config
RUN mkdir /db
VOLUME /db
VOLUME /config

EXPOSE 6060 6061

ADD . /go/src/github.com/coreos/clair/
WORKDIR /go/src/github.com/coreos/clair/
ADD . /go/src/github.com/coreos/clair/
WORKDIR /go/src/github.com/coreos/clair/

ENV GO15VENDOREXPERIMENT 1
RUN go install -v github.com/coreos/clair/cmd/clair
Expand Down

0 comments on commit ea193d3

Please sign in to comment.