Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v1.17.0 #2070

v1.17.0 #2070
Feb 14, 2023 · 1 comments · 5 replies
Discussion options

## What's Changed

New Contributors

Full Changelog: v1.16.0...v1.17.0


This discussion was created from the release v1.17.0.
You must be logged in to vote

Replies: 1 comment 5 replies

Comment options

@kyleconroy: generating codes with Docker doesn't work anymore with this new version

$ docker run --rm -v "$(pwd):/src" -w /src kjconroy/sqlc:1.17.0 generate
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "generate": executable file not found in $PATH: unknown.

The same command worked in v1.16.0

You must be logged in to vote
5 replies
Comment options

kyleconroy Feb 16, 2023
Maintainer Author

@quangvoodoo I think this breaking change is expected due to #1943. Can you try running this instead?

$ docker run --rm -v "$(pwd):/src" -w /src kjconroy/sqlc:1.17.0 sqlc generate
Comment options

@kyleconroy I tried your command but it doesn't work either:

❯ docker run --rm -v "$(pwd):/src" -w /src kjconroy/sqlc:1.17.0 sqlc generate
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "sqlc": executable file not found in $PATH: unknown.

But this one works:

❯ docker run --rm -v "$(pwd):/src" -w /src kjconroy/sqlc:1.17.0 /workspace/sqlc generate

Anyway, the docs on this page should be updated.

Comment options

@kyleconroy can you update the documentation? Many people are having trouble with this because they follow the instruction in the docs and it doesn't work.

Comment options

kyleconroy Feb 22, 2023
Maintainer Author

I've reverted the change to the Dockerfile and am in the process of releasing v1.17.1

Comment options

kyleconroy Feb 22, 2023
Maintainer Author

Whoops, looks like v1.17.1 had a build issue on Windows. Release 1.17.2 with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /