forked from alfg/docker-nginx-rtmp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Nginx, Alpine and ffmpeg (alfg#105)
* Update Nginx, Alpine and ffmpeg * Update versions on cuda image too * Reference new versions in README too * Remove avresample, it's deprecated and removed in ffmpeg 5.0
- Loading branch information
Showing
3 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
ARG NGINX_VERSION=1.21.4 | ||
ARG NGINX_VERSION=1.21.6 | ||
ARG NGINX_RTMP_VERSION=1.2.2 | ||
ARG FFMPEG_VERSION=4.4 | ||
|
||
ARG FFMPEG_VERSION=5.0 | ||
|
||
############################## | ||
# Build the NGINX-build image. | ||
FROM alpine:3.14.2 as build-nginx | ||
FROM alpine:3.15.0 as build-nginx | ||
ARG NGINX_VERSION | ||
ARG NGINX_RTMP_VERSION | ||
|
||
|
@@ -55,7 +54,7 @@ RUN cd /tmp/nginx-${NGINX_VERSION} && \ | |
|
||
############################### | ||
# Build the FFmpeg-build image. | ||
FROM alpine:3.14.2 as build-ffmpeg | ||
FROM alpine:3.15.0 as build-ffmpeg | ||
ARG FFMPEG_VERSION | ||
ARG PREFIX=/usr/local | ||
ARG MAKEFLAGS="-j4" | ||
|
@@ -110,7 +109,6 @@ RUN cd /tmp/ffmpeg-${FFMPEG_VERSION} && \ | |
--enable-libass \ | ||
--enable-libwebp \ | ||
--enable-postproc \ | ||
--enable-avresample \ | ||
--enable-libfreetype \ | ||
--enable-openssl \ | ||
--disable-debug \ | ||
|
@@ -124,7 +122,7 @@ RUN rm -rf /var/cache/* /tmp/* | |
|
||
########################## | ||
# Build the release image. | ||
FROM alpine:3.14.2 | ||
FROM alpine:3.15.0 | ||
LABEL MAINTAINER Alfred Gutierrez <[email protected]> | ||
|
||
# Set default ports. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters