0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-08 06:30:05 +00:00

Update Dockerfile to install rust using profile "minimal"

This should speed up the build a little bit.
This commit is contained in:
Pēteris Caune 2024-12-15 19:58:37 +02:00
parent 0fc4452366
commit 67dce23f56
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2

View file

@ -4,7 +4,7 @@ COPY requirements.txt /tmp
RUN \
apt-get update && \
apt-get install -y build-essential curl libpq-dev libmariadb-dev libffi-dev libpcre2-dev libssl-dev libcurl4-openssl-dev libpython3-dev pkg-config
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- --profile minimal -y
ENV PATH=$PATH:/root/.cargo/bin
RUN \
pip install --upgrade pip && \