Skip to content

Commit

Permalink
[Fix Bug] Cannot install postgresml packages.g
Browse files Browse the repository at this point in the history
  • Loading branch information
yjcyxky committed Feb 14, 2024
1 parent 287348d commit 1867040
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile.tgmc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | te
ENV TZ=UTC
ENV DEBIAN_FRONTEND=noninteractive
COPY *.deb /app/
RUN apt update -y && apt install git -y && dpkg -i /app/postgresql-pgml-*.deb && dpkg -i /app/postgresml-*-all.deb && dpkg -i /app/postgresml-dashboard-*.deb
RUN apt update -y && apt install git -y
RUN dpkg -i /app/postgresql-pgml-*.deb || apt-get install -f -y
RUN dpkg -i /app/postgresml-*-all.deb || apt-get install -f -y
RUN dpkg -i /app/postgresml-dashboard-*.deb || apt-get install -f -y
RUN git clone --branch v0.5.0 https://github.com/pgvector/pgvector && \
cd pgvector && \
echo "trusted = true" >> vector.control && \
Expand Down

0 comments on commit 1867040

Please sign in to comment.