Skip to content

Commit b069de0

Browse files
committed
fix: Copy the venom binary to the appropriate directory
1 parent aae6f3a commit b069de0

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Dockerfile

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
FROM alpine:3.16
2+
23
RUN apk update && \
3-
apk --no-cache add tzdata && \
4-
apk --no-cache add ca-certificates && rm -rf /var/cache/apk/*
4+
apk --no-cache add tzdata ca-certificates && \
5+
rm -rf /var/cache/apk/*
56

6-
COPY dist/venom.linux-amd64 /usr/local/venom
7+
COPY dist/venom.linux-amd64 /usr/local/bin/venom
8+
RUN chmod +x /usr/local/bin/venom
79

810
VOLUME /workdir/results
911
VOLUME /workdir/tests
1012
WORKDIR /workdir
1113

12-
ENTRYPOINT ["/usr/local/venom"]
13-
14-
ENV VENOM_OUTPUT_DIR=/workdir/results
15-
ENV VENOM_LIB_DIR=/workdir/tests/lib
16-
ENV VENOM_VERBOSE=1
14+
ENV VENOM_OUTPUT_DIR=/workdir/results \
15+
VENOM_LIB_DIR=/workdir/tests/lib \
16+
VENOM_VERBOSE=1
1717

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

0 commit comments

Comments
 (0)