Skip to content

Commit

Permalink
fixed imaage
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechsromek committed Aug 1, 2024
1 parent 4ab620b commit f7bd465
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,22 @@ 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"
ENV CARGO_HOME "/root/.cargo"
RUN rustup toolchain install nightly-2024-07-10
RUN rustup default nightly-2024-07-10
RUN rustup component add cargo
RUN cargo install cargo-build-deps && cargo install cargo-edit

FROM --platform=linux/amd64 build-image as build-app
WORKDIR /src/gpu-iris-mpc
COPY . .

FROM --platform=linux/amd64 ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive

COPY --from=build-app /src/gpu-iris-mpc/ /app/src/gpu-iris-mpc/

RUN apt-get update && apt-get install -y pkg-config wget libssl-dev ca-certificates \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit f7bd465

Please sign in to comment.