diff --git a/Dockerfile b/Dockerfile
index 67e9dee52de4c50093f9f424cf2c36b5b88a7703..8412c4cd3bb0452bf84df69e1329194ae4df17cb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM postgres:13-bullseye
+FROM postgres:14-bullseye
 
 RUN apt-get update \
   && for POSTGIS_VERSION in 3; do \
@@ -7,5 +7,12 @@ RUN apt-get update \
     postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION \
     postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts; \
     done \
-  && apt-get clean \
-  && rm -rf /var/lib/apt/lists/*
+    && apt-get install --no-install-recommends -y \
+    git-all postgresql-server-dev-14 make gcc \
+    && apt-get clean \
+    && rm -rf /var/lib/apt/lists/*
+RUN cd tmp \
+    && git clone https://github.com/omniti-labs/pg_amqp.git
+RUN cd tmp/pg_amqp \
+    && make \
+    && make install