diff --git a/Dockerfile b/Dockerfile index 2e0aae772..2c41c84cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG PYTHON_VERSION=3.10 +ARG PYTHON_VERSION=3.11 FROM bitnami/python:${PYTHON_VERSION} as build ARG LOGPREP_VERSION=latest @@ -10,10 +10,10 @@ ADD . /logprep WORKDIR /logprep RUN curl https://sh.rustup.rs -sSf | bash -s -- -y ENV PATH="/root/.cargo/bin:${PATH}" -RUN python -m pip install --upgrade pip wheel setuptools>=72.2.0 RUN python -m venv /opt/venv # Make sure we use the virtualenv: ENV PATH="/opt/venv/bin:$PATH" +RUN python -m pip install --upgrade pip 'setuptools>=72.2.0' RUN if [ "$LOGPREP_VERSION" = "dev" ]; then pip install .;\ elif [ "$LOGPREP_VERSION" = "latest" ]; then pip install git+https://github.com/fkie-cad/Logprep.git@latest; \