File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -58,29 +58,29 @@ RUN python --version && pip --version
5858# Install uv tool
5959COPY --from=ghcr.io/astral-sh/uv:0.7.8 /uv /uvx /bin/
6060
61- RUN apt-get update && apt-get install -y --no-install-recommends \
62- build-essential \
63- curl \
64- gnupg \
65- gcc \
66- g++ \
67- libcairo2-dev \
68- libpango1.0-dev \
69- libjpeg-dev \
70- libgif-dev \
71- librsvg2-dev \
61+ ARG DEPENDENCIES=" \
62+ vim \
63+ wait-for-it \
64+ postgresql-17-pgvector \
65+ build-essential \
66+ curl \
67+ gnupg \
68+ gcc \
69+ g++ \
70+ libcairo2-dev \
71+ libpango1.0-dev \
72+ libjpeg-dev \
73+ libgif-dev \
74+ librsvg2-dev"
75+
76+ RUN apt-get update && apt-get install -y --no-install-recommends $DEPENDENCIES \
7277 && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
7378 && apt-get install -y nodejs \
7479 && rm -rf /var/lib/apt/lists/* \
7580 && chmod g-xr /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* \
7681 && chmod g+xr /usr/bin/ld.so \
7782 && chmod g+x /usr/local/bin/python*
7883
79- ARG DEPENDENCIES=" \
80- vim \
81- wait-for-it \
82- postgresql-17-pgvector"
83-
8484# ENV PGDATA=/var/lib/postgresql/data \
8585# POSTGRES_USER=root \
8686# POSTGRES_PASSWORD=Password123@pg \
You can’t perform that action at this time.
0 commit comments