diff --git a/Dockerfile b/Dockerfile index 7739df6..62066c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,7 @@ RUN sudo apt-get update -y && sudo apt-get install -y\ libimlib2-dev COPY . ./ -RUN sudo chown -R rust:rust . + +USER root +ENV CARGO_HOME=/home/rust/.cargo +ENV RUSTUP_HOME=/home/rust/.multirust diff --git a/xlib/Cargo.toml b/xlib/Cargo.toml index f5f4469..a2d4cb4 100644 --- a/xlib/Cargo.toml +++ b/xlib/Cargo.toml @@ -1,6 +1,8 @@ [package] name = "xlib" version = "0.1.0" +description = "xlib bindings" +license-file = "../LICENSE" authors = ["Michael Zhang "] [dependencies]