Browse Source

Sync paths with CI pipeline due to dockerignore#

As the docker ignore file includes the target dir, content in this dir
is no accessible to the docker daemon.
We circumvent this by providing the build artifact in a dir called
cached_dir
merge-requests/24/head
Valkum 5 years ago
parent
commit
aa7b6b6e09
  1. 2
      tests/Complement.Dockerfile

2
tests/Complement.Dockerfile

@ -9,7 +9,7 @@ ARG SCCACHE_ENDPOINT @@ -9,7 +9,7 @@ ARG SCCACHE_ENDPOINT
ARG SCCACHE_S3_USE_SSL
COPY . .
RUN test -e target/release/conduit || cargo build --release --offline
RUN test -e cached_target/release/conduit || cargo build --release
FROM valkum/docker-rust-ci:latest
WORKDIR /workdir

Loading…
Cancel
Save