slhck / ffmpeg-normalize

Audio Normalization for Python/ffmpeg
MIT License
1.28k stars 118 forks source link

chmod: /usr/local/bin/ffprobe: No such file or directory #239

Closed IsaacsLab42 closed 1 year ago

IsaacsLab42 commented 1 year ago

Problem

  1. I cloned the latest git repo "master" branch
  2. Ran docker build . to create a docker image
  3. Received the following output:
    => [builder 1/4] RUN mkdir /ffmpeg                                        0.4s
    => [builder 2/4] WORKDIR /ffmpeg                                          0.0s
    => [builder 3/4] RUN wget https://johnvansickle.com/ffmpeg/releases/ffmp  1.6s
    => [builder 4/4] RUN tar -xf ffmpeg-release-amd64-static.tar.xz -C /ffmp  5.5s
    => [stage-2 1/4] COPY --from=builder /ffmpeg/ffmpeg /usr/local/bin        0.2s
    => [stage-2 2/4] COPY --from=builder /ffmpeg/ffprobe /usr/local/bexitin   0.6s
    => [stage-2 3/4] RUN pip3 install ffmpeg-normalize                        4.0s
    => ERROR [stage-2 4/4] RUN chmod +x /usr/local/bin/ffmpeg /usr/local/bin  0.8s
    ------
    > [stage-2 4/4] RUN chmod +x /usr/local/bin/ffmpeg /usr/local/bin/ffprobe:
    #0 0.805 chmod: /usr/local/bin/ffprobe: No such file or directory
    ------
    Dockerfile:13
    --------------------
    11 |     COPY --from=builder /ffmpeg/ffprobe /usr/local/bexitin
    12 |     RUN pip3 install ffmpeg-normalize
    13 | >>> RUN chmod +x /usr/local/bin/ffmpeg /usr/local/bin/ffprobe
    --------------------
    ERROR: failed to solve: process "/bin/sh -c chmod +x /usr/local/bin/ffmpeg /usr/local/bin/ffprobe" did not complete successfully: exit code: 1

Environment (please complete the following information):

slhck commented 1 year ago

Seems there was a typo in the Dockerfile, please update and try again.

See https://github.com/slhck/ffmpeg-normalize/commit/af659ed92f53e7eaf69e8e56a2224fbf0b68ca5b

IsaacsLab42 commented 1 year ago

That worked! Thank you!