Skip to content

[BUG] ERROR [n8n 2/2] RUN apk add --no-cache ffmpeg #28

@kuklofon

Description

@kuklofon

=> ERROR [n8n 2/2] RUN apk add --no-cache ffmpeg 0.3s

[n8n 2/2] RUN apk add --no-cache ffmpeg:
0.308 /bin/sh: apk: not found


[+] build 0/3
⠙ Image localai-n8n-import Building 1.4s
⠙ Image localai-n8n Building 1.4s
⠙ Image localai-n8n-worker Building 1.4s
Dockerfile:4


2 |

3 | USER root

4 | >>> RUN apk add --no-cache ffmpeg

5 | USER node


target n8n: failed to solve: process "/bin/sh -c apk add --no-cache ffmpeg" did not complete successfully: exit code: 127

Traceback (most recent call last):
File "/root/n8n-installer/./start_services.py", line 407, in
main()
File "/root/n8n-installer/./start_services.py", line 404, in main
start_local_ai()
File "/root/n8n-installer/./start_services.py", line 225, in start_local_ai
run_command(build_cmd)
File "/root/n8n-installer/./start_services.py", line 51, in run_command
subprocess.run(cmd, cwd=cwd, check=True)
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['docker', 'compose', '-p', 'localai', '-f', 'docker-compose.yml', 'build', '--pull']' returned non-zero exit status 1.
╭───────────────────────────────────────────────────────────────────────╮
│ [ERROR] 10:27:44: Failed to start services. Check logs for details. │
╰───────────────────────────────────────────────────────────────────────╯

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions