From 67cdcc2e12118becb823e20a40cc2687f2b8425a Mon Sep 17 00:00:00 2001 From: Adam Carpenter <53hornet@gmail.com> Date: Wed, 27 Mar 2019 15:32:37 -0400 Subject: Started Rust in Action MEAP. --- meap/meap-code/ch9/ch9-clock3/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meap/meap-code/ch9/ch9-clock3/Dockerfile (limited to 'meap/meap-code/ch9/ch9-clock3/Dockerfile') diff --git a/meap/meap-code/ch9/ch9-clock3/Dockerfile b/meap/meap-code/ch9/ch9-clock3/Dockerfile new file mode 100644 index 0000000..36055d0 --- /dev/null +++ b/meap/meap-code/ch9/ch9-clock3/Dockerfile @@ -0,0 +1,10 @@ +FROM rust:latest + +WORKDIR /opt/clock +COPY . . + +# docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/opt/clock -w /opt/clock rust:latest cargo build --release + +# RUN cargo build + +# CMD ["clock"] -- cgit v1.2.3