From 68f614b88a6f953a2bf9b6efeb1761f052d2c07c Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sun, 30 Sep 2018 08:06:45 -0500 Subject: [PATCH] ... --- Dockerfile | 5 ++++- xlib/Cargo.toml | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) 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]