-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Copy the venom binary to the appropriate directory
Signed-off-by: Ivan Velasco <[email protected]>
- Loading branch information
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |