Replies: 2 comments 2 replies
-
The easiest is using a Makefile and a Containerfile, but if it is a single binary you can also just "import" it. #include <stdio.h>
int main() { puts("Hello, World!"); } $ gcc -o hello -static hello.c
$ tar cf hello.tar hello
$ podman import hello.tar hello
$ podman run --rm hello /hello
Hello, World! |
Beta Was this translation helpful? Give feedback.
2 replies
-
You can also do a Containerfile with the following |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Very newbie question.
I can pull and execute the hello world example so the install on my PI is working.
How do I create a new locally written gcc program that doesn’t exist in a GitHub or docker repository?
Can someone point me to a dummies guide that gets me past THIS threshold?
Beta Was this translation helpful? Give feedback.
All reactions