mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-08 06:30:05 +00:00
Update Dockerfile to install rust via rustup
(The rust version in bullseye repositories is now too old to build cryptography.)
This commit is contained in:
parent
1f0ca10185
commit
292133526f
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
FROM python:3.11-slim-bullseye as builder
|
||||
|
||||
COPY requirements.txt /tmp
|
||||
RUN apt update && apt install -y build-essential git libpq-dev libmariadb-dev libffi-dev libssl-dev rustc libcurl4-openssl-dev libpython3-dev
|
||||
RUN apt update && apt install -y build-essential curl git libpq-dev libmariadb-dev libffi-dev libssl-dev libcurl4-openssl-dev libpython3-dev pkg-config
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/root/.cargo/bin"
|
||||
ENV CARGO_NET_GIT_FETCH_WITH_CLI true
|
||||
RUN \
|
||||
pip install --upgrade pip && \
|
||||
|
|
Loading…
Add table
Reference in a new issue