-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade ubuntu image to 24.04 (LTS) and ffmpeg to 7.1 #408
base: main
Are you sure you want to change the base?
Upgrade ubuntu image to 24.04 (LTS) and ffmpeg to 7.1 #408
Conversation
For reference I found/realized because of a SOC2 Vulnerabilities Scan on the docker image. |
converted to draft as I think this is going to require a Working through that now. |
alright I got
|
2404 is the current LTS, https://endoflife.date/ubuntu at this point if it's simpler to upgrade to Noble Numbat, I'd say let's drop 2204. Thank you very much for the contribution ! |
@jrottenberg concur, I will get this issue and pull-request cleaned up today to reflect the decision to add support for Ubuntu 2404 Noble Numbat, and I will leave all of the |
@jrottenberg you are welcome. Alright I cleaned up the PR and I think this is ready to go. |
Very nice, running it on https://dev.azure.com/video-tools/ffmpeg/_build/results?buildId=690&view=results |
Why 7.1 has its own env and run files ? I needed to change the download mirror for xvid, but that should be the main change required, rest should work for every version of ffmpeg, ideally. Trying to not have to do too much per version. |
|
I just chose the newest thing. ( just trying to make one thing work, for starters ) so: We can turn the knobs in To dial this back to get everything building. Looking Again
🤔 actually: this build (of the same branch): https://dev.azure.com/video-tools/ffmpeg/_build/results?buildId=691&view=results
based on this information: I am going to tweek the |
Doing some local builds to see if this works:
|
Thank you so much for all the pushes and effort on it, I'll catch up and rebase on the weekend, but one thing I've noticed, the build doesn't pass pre-commit, can you run the step locally ( |
resolves: #407 , #406
Dockerfile-env-ffmpeg-7.1-plus
andDockerfile-run-ffmpeg-7.1-plus
0.1.5
->0.1.6
2.1.2
->2.5.2
20170226-2245-stable
->20191217-2245-stable
3.4
->4.0
1.3.4
->1.3.7
4.3.2
->4.3.5
1.4.1
-> `1.5.312.1.1
->2.3.1
Dockerfile-template.ubuntu2404
( updated buildDeps to usepython3
)removed templateDockerfile-template.ubuntu2204
( which was really pointed to20.04
)Decided not to remove 2204 at this time, so that this PR does not get too large.
Developer notes
I was building this on my desktop w/ ( because I have apple silicon I needed the --platform argument )
Initial Description: was point Dockerfile-template.ubuntu2204 at correct version number
Docker template
Dockerfile-template.ubuntu2204
is pointed atFROM ubuntu:20.04 AS base
Which is old (March 2023), and misleading, since the template name specifies 2204.
should be
FROM ubuntu:22.04 AS base