mirror of
https://github.com/CompeyDev/ruck.git
synced 2025-01-08 11:49:09 +00:00
Partially correct dockerfile
This commit is contained in:
parent
0c2041a6db
commit
2a194eb192
4 changed files with 6 additions and 6 deletions
|
@ -22,7 +22,7 @@ RUN cargo build --release
|
||||||
# Copy the binary into a new container for a smaller docker image
|
# Copy the binary into a new container for a smaller docker image
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
|
|
||||||
COPY --from=build ./target/release/ruck /
|
COPY --from=build /ruck/target/release/ruck /
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ENV RUST_LOG=info
|
ENV RUST_LOG=info
|
||||||
|
|
|
@ -12,19 +12,19 @@
|
||||||
- https://kerkour.com/rust-symmetric-encryption-aead-benchmark/
|
- https://kerkour.com/rust-symmetric-encryption-aead-benchmark/
|
||||||
- https://docs.rs/aes-gcm/latest/aes_gcm/
|
- https://docs.rs/aes-gcm/latest/aes_gcm/
|
||||||
|
|
||||||
|
|
||||||
- https://github.com/rust-lang/flate2-rs
|
- https://github.com/rust-lang/flate2-rs
|
||||||
- https://crates.io/crates/async-compression
|
- https://crates.io/crates/async-compression
|
||||||
|
|
||||||
|
|
||||||
- https://pdos.csail.mit.edu/papers/chord:sigcomm01/chord_sigcomm.pdf
|
- https://pdos.csail.mit.edu/papers/chord:sigcomm01/chord_sigcomm.pdf
|
||||||
- https://pdos.csail.mit.edu/6.824/schedule.html
|
- https://pdos.csail.mit.edu/6.824/schedule.html
|
||||||
- https://flylib.com/books/en/2.292.1.105/1/
|
- https://flylib.com/books/en/2.292.1.105/1/
|
||||||
- https://en.wikipedia.org/wiki/Two_Generals%27_Problem
|
- https://en.wikipedia.org/wiki/Two_Generals%27_Problem
|
||||||
|
|
||||||
|
- https://kobzol.github.io/rust/ci/2021/05/07/building-rust-binaries-in-ci-that-work-with-older-glibc.html
|
||||||
|
|
||||||
## Todo
|
## Todo
|
||||||
|
|
||||||
- [ ] Use tracing
|
- [ ] Use tracing
|
||||||
- [ ] Add progress bars
|
- [ ] Add progress bars
|
||||||
- [ ] Exit happily when transfer is complete
|
- [ ] Exit happily when transfer is complete
|
||||||
- [ ] Compress files
|
- [ ] Compress files
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
docker build -t ruck ..
|
docker build -t ruck .
|
|
@ -1 +1 @@
|
||||||
$ docker run -p 8080:3030 --rm --name ruck1 ruck
|
docker run -p 8080:3030 --rm --name ruck1 ruck
|
Loading…
Reference in a new issue