mirror of
https://github.com/simon987/pg_hamming.git
synced 2025-12-14 07:09:04 +00:00
docker
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM ubuntu:20.04 as build
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y cmake postgresql-server-dev-12 -y
|
||||
|
||||
WORKDIR /build/
|
||||
COPY . /build/
|
||||
|
||||
RUN cmake .
|
||||
|
||||
FROM postgres:12
|
||||
|
||||
COPY --from=build /build/libhamming.so /usr/lib/libhamming.so
|
||||
COPY install.sh /docker-entrypoint-initdb.d/init-user-db.sh
|
||||
Reference in New Issue
Block a user