From a5d1bd6930f2958d061eff3dcdb76647395d55f9 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Wed, 15 May 2024 20:53:37 +0200 Subject: [PATCH] Move Dockerfile to top level again --- docker/Dockerfile => Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename docker/Dockerfile => Dockerfile (89%) diff --git a/docker/Dockerfile b/Dockerfile similarity index 89% rename from docker/Dockerfile rename to Dockerfile index 514559c..4d652b5 100644 --- a/docker/Dockerfile +++ b/Dockerfile @@ -13,11 +13,13 @@ RUN apt-get update && \ apt-get install -y clang libvncserver-dev && \ rm -rf /var/lib/apt/lists/* +# Installing it explicitly to make better use of the docker cache +RUN rustup toolchain install nightly + # We don't want to e.g. set "-C target-cpu=native", so that the binary should run everywhere # Also we can always build with vnc server support as the docker image contains all needed dependencies in any case RUN RUSTFLAGS='' cargo build --release --features vnc - FROM debian:bookworm-slim as final RUN apt-get update && \ apt-get install -y libvncserver1 ffmpeg && \