mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 20:42:54 +00:00
Also, use Workaround D for `swift/PostgresClientKitExample`, which supports neither SNI nor connections options
11 lines
249 B
Docker
11 lines
249 B
Docker
FROM openjdk:20
|
|
WORKDIR /source
|
|
|
|
COPY . .
|
|
|
|
WORKDIR /app
|
|
RUN curl --output postgresql.jar https://jdbc.postgresql.org/download/postgresql-42.6.0.jar && \
|
|
javac -d /app /source/Example.java
|
|
|
|
CMD ["java", "-cp", "/app/postgresql.jar:.", "Example"]
|