Closed timwis closed 3 months ago
@timwis Thank you for the report. I am releasing version 1.0.1 now that will fix this issue.
Oh my goodness - it was the comments?! haha I don't think I'd have thought to try that! Thanks @andrewn617, I appreciate the fix.
Hi team 👋🏻 I've been setting up the devcontainer on an existing rails project, and noticed that
ffmpeg
was not available on the command line within the devcontainer. I just setup a fresh rails app to see if I could reproduce and isolate the issue (usingrails _7.2.0.beta3_ new devcontainer_test --devcontainer
), and it's not available in that devcontainer either.The reason I believe it's not been installed is because I've tried the following commands:
grepping for
vips
orpop
(the other two packages installed by activestorage/install.sh) does find a match; it's justffmpeg
that seems to be missing.When I run
sudo apt-get update && sudo apt-get install ffmpeg
after the devcontainer is running, it installs fine.I'm not familiar enough with devcontainers to know how to diagnose the issue properly, but I've looked through the "Show All Logs..." results in vscode and found this clue in one build:
I tried copying the activestorage feature to a local directory, and using that in my
devcontainer.json
, then modifyinginstall.sh
to addapt-cache policy ffmpeg
afterapt-get update
, and it does look like it's available 🤔Any suggestions on how to further diagnose?