Segmentation fault when running samples/simple on RHEL9 using ubi docker image #2483
-
I have been unable to get the samples to run with 7.1.1 on a rhel9 ubi image. Has anyone gotten this to work? python 3.9.18 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
This repo has a Dockerfile and steps to reproduce |
Beta Was this translation helpful? Give feedback.
-
For me it is working: FROM registry.access.redhat.com/ubi9/ubi:latest as builder
RUN dnf clean all && dnf -y update && dnf install -y git gcc python3-pip wget && \
python3 -m pip install cx_freeze
WORKDIR /root
RUN wget https://github.com/marcelotduarte/cx_Freeze/archive/refs/tags/7.1.1.tar.gz && tar -xzvf 7.1.1.tar.gz
WORKDIR /root/cx_Freeze-7.1.1/samples/simple
RUN python3 setup.py build
FROM registry.access.redhat.com/ubi9/ubi:latest
COPY --from=builder /root/cx_Freeze-7.1.1/samples/simple/build/exe.linux-x86_64-3.9 /test/
ENTRYPOINT ["/test/hello"] To run: I used podman, but should work with docker.
|
Beta Was this translation helpful? Give feedback.
-
ok, I ran on a vm instead of docker and it worked. glad that worked, but not sure what the issue could be. |
Beta Was this translation helpful? Give feedback.
For me it is working:
To run:
podman build -t test2483 .
podman run --rm test2483:latest
I used podman, but should work with docker.