diff --git a/Dockerfile b/Dockerfile index 76f3fdd4..e9f8dbcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ LABEL maintainer="Your Name " LABEL description="Docker image for GPTQ-for-LLaMa and Text Generation WebUI" RUN apt-get update && \ - apt-get install --no-install-recommends -y git python3 python3-pip && \ + apt-get install --no-install-recommends -y git python3 python3-pip make g++ && \ rm -rf /var/lib/apt/lists/* RUN --mount=type=cache,target=/root/.cache/pip pip3 install virtualenv diff --git a/README.md b/README.md index 136a6d60..01f86723 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,15 @@ On Linux or WSL, it can be automatically installed with these two commands: curl -sL "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" > "Miniconda3.sh" bash Miniconda3.sh ``` - Source: https://educe-ubc.github.io/conda.html +#### 0.1 (Ubuntu/WSL) Install build tools + +``` +sudo apt install build-essential +``` + + #### 1. Create a new conda environment ```