diff --git a/Dockerfile.debug b/Dockerfile.debug index 1e560d599..83758e93c 100644 --- a/Dockerfile.debug +++ b/Dockerfile.debug @@ -1,6 +1,8 @@ -FROM --platform=linux/amd64 ubuntu:22.04 as build-image +FROM --platform=linux/amd64 ubuntu:22.04 +ENV DEBIAN_FRONTEND=noninteractive + +WORKDIR /app -WORKDIR /src RUN apt-get update && apt-get install -y \ curl \ build-essential \ @@ -14,11 +16,6 @@ RUN apt-get update && apt-get install -y \ ca-certificates \ wget -FROM --platform=linux/amd64 ubuntu:22.04 -ENV DEBIAN_FRONTEND=noninteractive - -WORKDIR /app - RUN curl https://sh.rustup.rs -sSf | sh -s -- -y ENV PATH "/root/.cargo/bin:${PATH}" ENV RUSTUP_HOME "/root/.rustup"