full.Dockerfile
1 ARG UBUNTU_VERSION=22.04 2 3 FROM ubuntu:$UBUNTU_VERSION as build 4 5 RUN apt-get update && \ 6 apt-get install -y build-essential python3 python3-pip git libcurl4-openssl-dev libgomp1 7 8 COPY requirements.txt requirements.txt 9 COPY requirements requirements 10 11 RUN pip install --upgrade pip setuptools wheel \ 12 && pip install -r requirements.txt 13 14 WORKDIR /app 15 16 COPY . . 17 18 ENV LLAMA_CURL=1 19 20 21 RUN make -j$(nproc) 22 23 ENV LC_ALL=C.utf8 24 25 ENTRYPOINT ["/app/.devops/tools.sh"]