Skip to content

Commit

Permalink
Move Dockerfile to top level again
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed May 15, 2024
1 parent c380e5a commit a5d1bd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit a5d1bd6

Please sign in to comment.