mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-10 23:12:54 +00:00
Update client libraries and runtimes for Postgres libraries we test.
- `pg8000` works with Neon now 🎉
- `PostgresClientKit` still doesn't support SNI
11 lines
249 B
Docker
11 lines
249 B
Docker
FROM openjdk:17
|
|
WORKDIR /source
|
|
|
|
COPY . .
|
|
|
|
WORKDIR /app
|
|
RUN curl --output postgresql.jar https://jdbc.postgresql.org/download/postgresql-42.5.1.jar && \
|
|
javac -d /app /source/Example.java
|
|
|
|
CMD ["java", "-cp", "/app/postgresql.jar:.", "Example"]
|