Skip to content

Commit

Permalink
Switch to Alpine so we don't upgrade the Postgres minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
rouge8 committed Dec 20, 2023
1 parent fbf4735 commit ec8ae8c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
ARG POSTGRES_VERSION

FROM postgres:${POSTGRES_VERSION}
FROM postgres:${POSTGRES_VERSION}-alpine

RUN apt-get update \
&& apt-get install -y git make gcc postgresql-server-dev-15 \
&& rm -rf /var/lib/apt/lists/*
RUN apk add --no-cache \
git make gcc clang15 llvm15 musl-dev

ARG PGVECTOR_VERSION

Expand Down

0 comments on commit ec8ae8c

Please sign in to comment.