Skip to content

Commit

Permalink
fix: Copy the venom binary to the appropriate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
09bassOp committed Sep 2, 2024
1 parent aae6f3a commit b069de0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
FROM alpine:3.16

RUN apk update && \
apk --no-cache add tzdata && \
apk --no-cache add ca-certificates && rm -rf /var/cache/apk/*
apk --no-cache add tzdata ca-certificates && \
rm -rf /var/cache/apk/*

COPY dist/venom.linux-amd64 /usr/local/venom
COPY dist/venom.linux-amd64 /usr/local/bin/venom
RUN chmod +x /usr/local/bin/venom

VOLUME /workdir/results
VOLUME /workdir/tests
WORKDIR /workdir

ENTRYPOINT ["/usr/local/venom"]

ENV VENOM_OUTPUT_DIR=/workdir/results
ENV VENOM_LIB_DIR=/workdir/tests/lib
ENV VENOM_VERBOSE=1
ENV VENOM_OUTPUT_DIR=/workdir/results \
VENOM_LIB_DIR=/workdir/tests/lib \
VENOM_VERBOSE=1

CMD [ "run", "./tests/*.y*ml"]
ENTRYPOINT ["/usr/local/bin/venom"]
CMD ["run", "./tests/*.y*ml"]

0 comments on commit b069de0

Please sign in to comment.