Skip to content

Commit

Permalink
add rust to path and flatten image to single layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Jan 19, 2024
1 parent 7054345 commit 862c08b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:noble-20240114
FROM ubuntu:noble-20240114 AS base

RUN apt-get update && \
apt-get install -y \
Expand All @@ -8,4 +8,8 @@ RUN apt-get update && \

RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y

ENV PATH="/root/.cargo/bin:${PATH}"

WORKDIR /ci

FROM base

0 comments on commit 862c08b

Please sign in to comment.