From 2b1a5adf8aebc6a0917f591ec2cc364d5ea5d346 Mon Sep 17 00:00:00 2001 From: wojciechsromek Date: Thu, 1 Aug 2024 10:56:38 +0200 Subject: [PATCH] fix --- Dockerfile.debug | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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"