docker run ... generate fails with a tls failure per query #3092
Unanswered
rossbagley
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's the command I ran:
> docker run --env SQLC_AUTH_TOKEN=${SQLC_AUTH_TOKEN} --rm -v "${PWD}:/src" -w /src sqlc/sqlc -f .sqlc/sqlc.yaml generate
.sqlc/sqlc.yaml
internal/model/sqlc/schema.sql
internal/model/sqlc/query.sql
The output is:
The line numbers are the first line of each query in query.sql. I would guess that Docker Desktop for Windows is rejecting a self-signed certificate on the connection and my Google-fu has not figured out how to tell Docker it's okay this time.
I'm using the docker command because the windows version of sqlc doesn't do postgresql.
Beta Was this translation helpful? Give feedback.
All reactions