fix: Fix build docker image error (#1325)

This commit is contained in:
Fangyin Cheng
2024-03-23 09:44:20 +08:00
committed by GitHub
parent 8a17099dd2
commit fa06be64c1
2 changed files with 7 additions and 4 deletions

View File

@@ -3,7 +3,9 @@ ARG BASE_IMAGE="nvidia/cuda:11.8.0-runtime-ubuntu22.04"
FROM ${BASE_IMAGE}
ARG BASE_IMAGE
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git python3 pip wget sqlite3 tzdata \
# libpq-dev for PG
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git python3 pip \
wget sqlite3 tzdata libpq-dev default-libmysqlclient-dev \
&& apt-get clean
ARG BUILD_LOCAL_CODE="false"