mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Dockerfile: Consistently use proper ENV syntax using equal sign. v6.0.140 (#4116)
This not only silences a deprecation warning by docker build, but also makes it consistent as the other ENV statement already uses the new syntax. --------- Co-authored-by: winlin <winlinvip@gmail.com>
This commit is contained in:
parent
f04e9392fa
commit
d50fb1563a
3 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,7 @@ ARG SRS_AUTO_PACKAGER
|
|||
RUN echo "BUILDPLATFORM: $BUILDPLATFORM, TARGETPLATFORM: $TARGETPLATFORM, PACKAGER: ${#SRS_AUTO_PACKAGER}, CONFARGS: ${CONFARGS}, MAKEARGS: ${MAKEARGS}, INSTALLDEPENDS: ${INSTALLDEPENDS}"
|
||||
|
||||
# https://serverfault.com/questions/949991/how-to-install-tzdata-on-a-ubuntu-docker-image
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# To use if in RUN, see https://github.com/moby/moby/issues/7281#issuecomment-389440503
|
||||
# Note that only exists issue like "/bin/sh: 1: [[: not found" for Ubuntu20, no such problem in CentOS7.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue