File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Stage 1: Compilar el plugin para PostgreSQL 17
12FROM postgres:17 AS builder
23
3- # Install build dependencies
4+ # Instalar dependencias de compilación
45RUN apt-get update && apt-get install -y --no-install-recommends \
56 ca-certificates \
67 build-essential \
@@ -17,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1718 && update-ca-certificates \
1819 && rm -rf /var/lib/apt/lists/*
1920
20- # Clone and build osmdbt plugin for PostgreSQL 17
21+ # Clonar y compilar el plugin osmdbt para PostgreSQL 17
2122RUN git clone https://github.com/openstreetmap/osmdbt.git /tmp/osmdbt && \
2223 cd /tmp/osmdbt && \
2324 git checkout v0.9 && \
@@ -28,15 +29,6 @@ RUN git clone https://github.com/openstreetmap/osmdbt.git /tmp/osmdbt && \
2829
2930FROM postgres:17
3031
31- RUN apt-get update && apt-get install -y --no-install-recommends \
32- postgresql-17-postgis-3 \
33- postgresql-17-postgis-3-scripts \
34- && rm -rf /var/lib/apt/lists/*
35-
36- # Auto-create required extensions on fresh initdb
37- COPY ./scripts/init-extensions.sh /docker-entrypoint-initdb.d/10-extensions.sh
38- RUN chmod +x /docker-entrypoint-initdb.d/10-extensions.sh
39-
4032COPY --from=builder /tmp/osmdbt/postgresql-plugin/build/osm-logical.so /usr/lib/postgresql/17/lib/osm-logical.so
4133
4234RUN ln -s /usr/lib/postgresql/17/lib/osm-logical.so /usr/lib/postgresql/17/lib/osm_logical.so
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ osm-seed:
4747 accessMode : ReadWriteOnce
4848 mountPath : /var/lib/postgresql/data
4949 subPath : postgresql-db
50- AWS_ElasticBlockStore_volumeID : vol-0d06904bb508e31b9
50+ AWS_ElasticBlockStore_volumeID : vol-025cab988ae190a7b
5151 AWS_ElasticBlockStore_size : 200Gi
5252 resources :
5353 enabled : false
You can’t perform that action at this time.
0 commit comments