FROM python:3.6-slim-buster
USER root
WORKDIR /root
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y git gcc
RUN git clone https://github.com/msmarks/python_g726
RUN cd python_g726 && python setup.py build_ext --inplace
ENV PYTHONPATH ..
RUN cd python_g726/example && python pcm2.py please_wait.snd
Step 9/9 : RUN cd python_g726/example && python pcm2.py please_wait.snd
---> Running in 26cf56cd9dc0
Segmentation fault
With this docker file:
run
produces