From f380754ff5e6610a7b0f168cc510e44d99cc2124 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 8 May 2021 12:27:39 +1000 Subject: [PATCH] Adding rust compiler :( --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eb264d72..d4e84694 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,12 @@ FROM python:3.8-slim COPY requirements.txt /tmp/requirements.txt -RUN apt-get update && apt-get install -y curl libffi-dev gcc libc-dev libxslt-dev zlib1g-dev g++ --no-install-recommends && rm -rf /var/lib/apt/lists/* /var/cache/apt/* +RUN apt-get update && apt-get install -y curl libssl-dev libffi-dev gcc libc-dev libxslt-dev zlib1g-dev g++ --no-install-recommends && rm -rf /var/lib/apt/lists/* /var/cache/apt/* RUN pip3 install --upgrade pip && pip3 install --no-cache-dir -r /tmp/requirements.txt + +# More bloat, curl above is needed because the rust compiler is needed +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + RUN [ ! -d "/app" ] && mkdir /app RUN [ ! -d "/datastore" ] && mkdir /datastore