Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechsromek committed Aug 1, 2024
1 parent 5feed64 commit 2b1a5ad
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Dockerfile.debug
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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"
Expand Down

0 comments on commit 2b1a5ad

Please sign in to comment.