mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 23:59:58 +00:00
* Add tests for different postgres clients * test/fixtures: sanitize test name for test_output_dir * test/fixtures: do not look for etcd before runtime * Add workflow for testing Postgres client libraries
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.4.0.jar && \
|
|
javac -d /app /source/Example.java
|
|
|
|
CMD ["java", "-cp", "/app/postgresql.jar:.", "Example"]
|