Skip to content

Commit

Permalink
debian-bullseye/prjoxide: use rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Jun 26, 2023
1 parent 79bc6e0 commit c6ae2eb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions debian-bullseye/prjoxide.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,10 @@ ARG REGISTRY='gcr.io/hdl-containers/debian/bullseye'

FROM $REGISTRY/build/build AS build

RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
cargo \
&& apt-get autoclean && apt-get clean && apt-get -y autoremove \
&& rm -rf /var/lib/apt/lists/*
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

RUN git clone --recurse-submodules https://github.com/gatecat/prjoxide /tmp/prjoxide \
RUN source "$HOME/.cargo/env" \
&& git clone --recurse-submodules https://github.com/gatecat/prjoxide /tmp/prjoxide \
&& cd /tmp/prjoxide/libprjoxide \
&& cargo install --path prjoxide --root /opt/prjoxide/usr/local

Expand Down

0 comments on commit c6ae2eb

Please sign in to comment.