File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11ARG NGINX_VERSION=1.16.1
22ARG NGINX_RTMP_VERSION=1.2.1
3- ARG FFMPEG_VERSION=4.2.1
3+ ARG FFMPEG_VERSION=4.2.2
44
55
66# #############################
77# Build the NGINX-build image.
8- FROM alpine:3.8 as build-nginx
8+ FROM alpine:3.11 as build-nginx
99ARG NGINX_VERSION
1010ARG NGINX_RTMP_VERSION
1111
@@ -48,12 +48,13 @@ RUN cd /tmp/nginx-${NGINX_VERSION} && \
4848 --with-threads \
4949 --with-file-aio \
5050 --with-http_ssl_module \
51- --with-debug && \
51+ --with-debug \
52+ --with-cc-opt="-Wimplicit-fallthrough=0" && \
5253 cd /tmp/nginx-${NGINX_VERSION} && make && make install
5354
5455# ##############################
5556# Build the FFmpeg-build image.
56- FROM alpine:3.8 as build-ffmpeg
57+ FROM alpine:3.11 as build-ffmpeg
5758ARG FFMPEG_VERSION
5859ARG PREFIX=/usr/local
5960ARG MAKEFLAGS="-j4"
@@ -71,6 +72,7 @@ RUN apk add --update \
7172 libvorbis-dev \
7273 libwebp-dev \
7374 libtheora-dev \
75+ openssl-dev \
7476 opus-dev \
7577 pkgconf \
7678 pkgconfig \
@@ -106,7 +108,6 @@ RUN cd /tmp/ffmpeg-${FFMPEG_VERSION} && \
106108 --enable-libfdk-aac \
107109 --enable-libass \
108110 --enable-libwebp \
109- --enable-librtmp \
110111 --enable-postproc \
111112 --enable-avresample \
112113 --enable-libfreetype \
@@ -122,7 +123,7 @@ RUN rm -rf /var/cache/* /tmp/*
122123
123124# #########################
124125# Build the release image.
125- FROM alpine:3.8
126+ FROM alpine:3.11
126127LABEL MAINTAINER Alfred Gutierrez <alf.g.jr@gmail.com>
127128
128129RUN apk add --update \
You can’t perform that action at this time.
0 commit comments