Skip to content

Conversation

@dandavison
Copy link
Contributor

For those using docker to regenerate protos, provide poe gen-protos-docker instead of having to run three shell commands and copy an image ID.

@dandavison dandavison requested a review from a team as a code owner August 20, 2025 15:40
RUN poe gen-protos

CMD cp -r ./temporalio/api/* /api_new && cp -r ./temporalio/bridge/proto/* /bridge_new
CMD ["sh", "-c", "cp -r ./temporalio/api/* /api_new && cp -r ./temporalio/bridge/proto/* /bridge_new"]
Copy link
Contributor Author

@dandavison dandavison Aug 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoids warning:

     - JSONArgsRecommended: JSON arguments recommended for CMD to prevent
     unintended behavior related to OS signals (line 15)

cursor[bot]

This comment was marked as outdated.

@dandavison dandavison force-pushed the dan-9994-proto-generation branch from cf625ef to fe7e307 Compare August 20, 2025 20:54
Copy link
Member

@Sushisource Sushisource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

Avoids warning:

 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent
 unintended behavior related to OS signals (line 15)
@dandavison dandavison force-pushed the dan-9994-proto-generation branch from fe7e307 to d952aae Compare September 4, 2025 00:50
@dandavison dandavison merged commit bef76a6 into main Sep 4, 2025
17 checks passed
@dandavison dandavison deleted the dan-9994-proto-generation branch September 4, 2025 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants