1
0
mirror of synced 2025-12-30 12:04:43 -05:00
Files
airbyte/tools/integrations-test-ssl/Postgres.Dockerfile
Marcos Marx ca8f304f90 Add SSL option for Postgres source/destination (#2757)
* add ssl for source-postgres

* add config in utf8 test

* correct comments from @jrhizor and @sherifnada

* correct config get

* add ssl test postgres

* add sh generate ssl files

* change pg ssl test

* use custom image

* correct spec.json

* correc tests

* remove unecessary config

* add config and correct spec.json

* add ssl to postgres destination

* add tools to generate custom dockers images and correct spec.json

* change how additional parameter is append

* add logic ssl for postgres destination

* remove if for append add params

* gradlew format
2021-04-16 15:37:55 -07:00

9 lines
287 B
Docker

FROM postgres:11-alpine
COPY server.key /var/lib/postgresql/server.key
COPY server.crt /var/lib/postgresql/server.crt
# update the privileges on the .key, no need to touch the .crt
RUN chmod 600 /var/lib/postgresql/server.key
RUN chown postgres:postgres /var/lib/postgresql/server.key