Dockerized tests are now working and added a flag to toggle showing the test case diff.

This commit is contained in:
Tom Alexander
2020-04-12 15:24:38 -04:00
parent aa7155d467
commit 8435028a55
2 changed files with 28 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
FROM rustlang/rust:nightly-alpine3.10
RUN apk --no-cache add bash git npm nodejs
# findutils needed to replace busybox xargs because it is failing to
# pass stdin through when using the `-a` flag
RUN apk --no-cache add bash git npm nodejs findutils
# Create unprivileged user
RUN addgroup -S duster && adduser -S duster -G duster
@@ -20,3 +22,5 @@ RUN chown -R duster:duster /home/duster/duster
USER duster
RUN git clean -dfxq
RUN cargo build
RUN npm link dustjs-linkedin
CMD /home/duster/duster/js/run_compliance_suite.bash