Skip to content

Commit

Permalink
fix: add ENV PATH for rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien3d committed Oct 3, 2024
1 parent 5286495 commit 9054bc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/debian11/Dockerfile-tyr-worker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:bullseye-slim

RUN apt-get update \
&& apt install -y python git libgeos-c1v5 libpq5 curl
&& apt install -y python git libgeos-c1v5 libpq5 curl gcc pkg-config libssl-dev

RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
RUN python2 get-pip.py
Expand All @@ -13,6 +13,8 @@ RUN git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/h
RUN git clone -b ${TARTARE_TOOLS_VERSION} --depth 1 https://x-access-token:${GITHUB_TOKEN}@github.com/hove-io/tartare-tools

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:$PATH"

# rustc 1.80.0 broke the compilation
RUN rustup install 1.79.0

Expand Down

0 comments on commit 9054bc1

Please sign in to comment.