A cloudflare backed DDNS service written in Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
426 B

  1. if not exist "%cd%\docker\linux\target" mkdir "%cd%\docker\linux\target"
  2. if not exist "%cd%\docker\linux\cargo" mkdir "%cd%\docker\linux\cargo"
  3. docker run --rm ^
  4. -e CARGO_HOME="/tmp/cargo" ^
  5. -v "%cd%":/usr/src/rsddns ^
  6. -v "%cd%\docker\linux\target":/usr/src/rsddns/target ^
  7. -v "%cd%\docker\linux\cargo":/tmp/cargo ^
  8. -w /usr/src/rsddns ^
  9. rust:1.31-stretch ^
  10. cargo build --release && strip /usr/src/rsddns/target/release/rsddns