SHARE
TWEET

Untitled

a guest Aug 24th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from rust:1.35 as builder
  2.  
  3. copy . /src
  4. volume /src
  5. workdir /src
  6.  
  7. run mkdir /target
  8. run cargo build --all-targets --target-dir /target
  9. volume /target
  10.  
  11. cmd sleep infinity
  12.  
  13. from rust:1.35
  14. copy --from=builder /src /src
  15. copy --from=builder /target /src/target
  16. workdir /src
  17. run cargo install --bins --path .
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top