Skip to content

Commit

Permalink
Add volumes for logs and testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
marema31 committed Nov 13, 2020
1 parent 668d3c1 commit 05f3cda
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,21 @@ COPY . .
RUN go build -a -installsuffix cgo -ldflags "-X github.com/ovh/venom.Version=$(git describe)" -o /go/bin ./...
RUN chmod a+rx /go/bin/venom

FROM debian:buster-slim
FROM debian:buster-slim

RUN apt-get update && \
apt-get install -y unixodbc && \
rm -rf /var/lib/apt/lists/*

COPY --from=build /go/bin/venom /opt/venom

ENTRYPOINT ["/opt/venom"]
# Default volume for tests output and logs
VOLUME /outputs

#Default volume for tests suite
VOLUME /testsuite
WORKDIR /testsuite

ENTRYPOINT ["/opt/venom" ]

CMD [ "run", "--output-dir", "/outputs"]

0 comments on commit 05f3cda

Please sign in to comment.