Update GDAL, install some other Python packages, and change port for postgres

This commit is contained in:
Diego Ripley
2025-09-16 18:18:55 +00:00
parent 901d051567
commit 1a7ea7e40a
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -6,8 +6,8 @@
"containerUser": "ubuntu", "containerUser": "ubuntu",
"shutdownAction": "stopCompose", "shutdownAction": "stopCompose",
"forwardPorts": [ "forwardPorts": [
5432, 8888,
8888 5435
], ],
"customizations": { "customizations": {
"vscode": { "vscode": {
@@ -26,4 +26,4 @@
"mounts": [ "mounts": [
"source=${localEnv:HOME}/.ssh,target=/home/ubuntu/.ssh,type=bind,consistency=cached" "source=${localEnv:HOME}/.ssh,target=/home/ubuntu/.ssh,type=bind,consistency=cached"
] ]
} }
+2 -2
View File
@@ -1,4 +1,4 @@
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.11.0 FROM ghcr.io/osgeo/gdal:ubuntu-full-3.11.4
# Ubuntu is UID 1000 and GID 1000 # Ubuntu is UID 1000 and GID 1000
ARG USERNAME=ubuntu ARG USERNAME=ubuntu
@@ -40,7 +40,7 @@ USER ${USERNAME}
# Create virtual environment and install Python packages # Create virtual environment and install Python packages
RUN uv venv ~/.venv \ RUN uv venv ~/.venv \
&& cd ~ \ && cd ~ \
&& uv pip install 'geopandas[all]' duckdb psycopg2-binary jupyterlab lonboard click stats-can openpyxl ordered-set buckaroo jenkspy 'polars[all]' && uv pip install 'geopandas[all]' duckdb psycopg2-binary jupyterlab lonboard click stats-can openpyxl ordered-set buckaroo jenkspy 'polars[all]' folium-pmtiles
# Bash Kernel # Bash Kernel
RUN cd ~ \ RUN cd ~ \
+3 -3
View File
@@ -16,17 +16,17 @@ services:
command: sleep infinity command: sleep infinity
db: db:
image: postgis/postgis:17-3.5-alpine image: postgis/postgis:17-3.5-alpine
container_name: db container_name: devcontainer_postgres
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
env_file: .env env_file: .env
ports: ports:
- 5432:5432 - 5435:5432
networks: networks:
default: default:
name: dev-container name: dev-container
volumes: volumes:
pgdata: pgdata: