Skip to content

Commit

Permalink
Update certs (blakeblackshear#4729)
Browse files Browse the repository at this point in the history
* force upgrade certs

* switch to debian for nginx build
  • Loading branch information
blakeblackshear committed Dec 18, 2022
1 parent d999575 commit 368c07c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /rootfs

FROM ubuntu:20.04 AS nginx
FROM base AS nginx
ARG DEBIAN_FRONTEND
ARG NGINX_VERSION=1.22.1
ARG VOD_MODULE_VERSION=1.30
ARG SECURE_TOKEN_MODULE_VERSION=1.4
ARG RTMP_MODULE_VERSION=1.2.1

RUN cp /etc/apt/sources.list /etc/apt/sources.list~ \
&& sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list \
RUN cp /etc/apt/sources.list /etc/apt/sources.list.d/sources-src.list \
&& sed -i 's|deb http|deb-src http|g' /etc/apt/sources.list.d/sources-src.list \
&& apt-get update

RUN apt-get -yqq build-dep nginx
Expand Down

0 comments on commit 368c07c

Please sign in to comment.