Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile for running directly in a container #33

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jkuester
Copy link

@jkuester jkuester commented Jan 24, 2025

Just wanted to share this here in case it seems useful to have in the main repo.

Some of us CHT folks do not do much experience with Python, but we work a lot with Docker. So, I put together a Dockerfile that allows executing tricc directly as a script, but wrapped in a Docker container.

I included build/usage instructions in the README.

(Thanks to @sugat009 for the Python assist to get me this far!)

@@ -24,7 +24,7 @@ dependencies = [
"fhir.resources",
"antlr4-python3-runtime",
"antlr-ast",
"antlr-tools",
# "antlr-tools",
Copy link
Author

Choose a reason for hiding this comment

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

I think I need some help here. (Sorry, I am not very proficient with Python!) Every time I try to build the project (e.g. pip install .) with this dependency included, I get this error:

5.654 ERROR: Could not find a version that satisfies the requirement antlr-tools (from tricc-oo) (from versions: none)
5.655 ERROR: No matching distribution found for antlr-tools

Am I missing something to get this to work? (You should be able to reproduce the error by re-including this package and then trying to build the Dockerfile...)

@jkuester jkuester marked this pull request as ready for review January 24, 2025 21:49
@delcroip delcroip force-pushed the develop branch 3 times, most recently from 058a52f to f5678ff Compare February 3, 2025 20:11
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.

1 participant