Skip to content

Commit 6fa1fb0

Browse files
authored
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
1 parent 5d02eee commit 6fa1fb0

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

Dockerfile

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
ARG NGINX_VERSION=1.21.4
1+
ARG NGINX_VERSION=1.21.6
22
ARG NGINX_RTMP_VERSION=1.2.2
3-
ARG FFMPEG_VERSION=4.4
4-
3+
ARG FFMPEG_VERSION=5.0
54

65
##############################
76
# Build the NGINX-build image.
8-
FROM alpine:3.14.2 as build-nginx
7+
FROM alpine:3.15.0 as build-nginx
98
ARG NGINX_VERSION
109
ARG NGINX_RTMP_VERSION
1110

@@ -55,7 +54,7 @@ RUN cd /tmp/nginx-${NGINX_VERSION} && \
5554

5655
###############################
5756
# Build the FFmpeg-build image.
58-
FROM alpine:3.14.2 as build-ffmpeg
57+
FROM alpine:3.15.0 as build-ffmpeg
5958
ARG FFMPEG_VERSION
6059
ARG PREFIX=/usr/local
6160
ARG MAKEFLAGS="-j4"
@@ -110,7 +109,6 @@ RUN cd /tmp/ffmpeg-${FFMPEG_VERSION} && \
110109
--enable-libass \
111110
--enable-libwebp \
112111
--enable-postproc \
113-
--enable-avresample \
114112
--enable-libfreetype \
115113
--enable-openssl \
116114
--disable-debug \
@@ -124,7 +122,7 @@ RUN rm -rf /var/cache/* /tmp/*
124122

125123
##########################
126124
# Build the release image.
127-
FROM alpine:3.14.2
125+
FROM alpine:3.15.0
128126
LABEL MAINTAINER Alfred Gutierrez <alf.g.jr@gmail.com>
129127

130128
# Set default ports.

Dockerfile.cuda

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
ARG NGINX_VERSION=1.21.4
1+
ARG NGINX_VERSION=1.21.6
22
ARG NGINX_RTMP_VERSION=1.2.2
3-
ARG FFMPEG_VERSION=4.4
4-
3+
ARG FFMPEG_VERSION=5.0
54

65
##############################
76
# Build the NGINX-build image.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
A Dockerfile installing NGINX, nginx-rtmp-module and FFmpeg from source with
33
default settings for HLS live streaming. Built on Alpine Linux.
44

5-
* Nginx 1.21.4 (Mainline version compiled from source)
5+
* Nginx 1.21.6 (Mainline version compiled from source)
66
* nginx-rtmp-module 1.2.2 (compiled from source)
7-
* ffmpeg 4.4 (compiled from source)
7+
* ffmpeg 5.0 (compiled from source)
88
* Default HLS settings (See: [nginx.conf](nginx.conf))
99

1010
[![Docker Stars](https://img.shields.io/docker/stars/alfg/nginx-rtmp.svg)](https://hub.docker.com/r/alfg/nginx-rtmp/)

0 commit comments

Comments
 (0)