From 749f0fe782c94e0175ca01590f55da2d101d98a6 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Thu, 4 Jan 2024 14:34:25 -0600 Subject: [PATCH] local fix for docker --- docker-example/Dockerfile | 4 ++-- docker-example/docker-compose.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docker-example/Dockerfile b/docker-example/Dockerfile index c8b008c..bcd6ab3 100644 --- a/docker-example/Dockerfile +++ b/docker-example/Dockerfile @@ -8,8 +8,8 @@ WORKDIR "pg_roaringbitmap-$VERSION_TAG" RUN make -f Makefile_native && make install FROM postgres:16.0-bookworm -COPY --from=builder /usr/share/postgresql/16/extension/roaringbitmap* /usr/share/postgresql/16/extension -COPY --from=builder /usr/lib/postgresql/16/lib/roaringbitmap.so /usr/lib/postgresql/16/lib +COPY --from=builder /usr/share/postgresql/16/extension/roaringbitmap* /usr/share/postgresql/16/extension/ +COPY --from=builder /usr/lib/postgresql/16/lib/roaringbitmap.so /usr/lib/postgresql/16/lib/ COPY --from=builder /usr/lib/postgresql/16/lib/bitcode/roaringbitmap /usr/lib/postgresql/16/lib/bitcode/roaringbitmap COPY --from=builder /usr/lib/postgresql/16/lib/bitcode/roaringbitmap.index.bc /usr/lib/postgresql/16/lib/bitcode/roaringbitmap.index.bc diff --git a/docker-example/docker-compose.yml b/docker-example/docker-compose.yml index 60e2358..9051f17 100644 --- a/docker-example/docker-compose.yml +++ b/docker-example/docker-compose.yml @@ -3,10 +3,11 @@ version: '3.8' services: database: build: - dockerfile: Dockerfile + context: . + dockerfile: ./Dockerfile environment: - POSTGRES_USER=admin - POSTGRES_PASSWORD=123456 - POSTGRES_DB=test ports: - - "5432:5432" \ No newline at end of file + - "5432:5432"