FROM ubuntu:20.04 as build ENV LC_ALL zh_CN.UTF-8 RUN export DEBIAN_FRONTEND=noninteractive &&\ apt-get update && \ apt-get install -y --no-install-recommends openjdk-11-jre ca-certificates ffmpeg language-pack-zh-hans && \ apt-get autoremove -y && \ apt-get clean -y && \ rm -rf /var/lib/apt/lists/*dic ENV TIME_ZONE="Asia/Shanghai" RUN mkdir -p /opt/wvp/config /opt/wvp/heapdump /opt/wvp/config /opt/assist/config /opt/assist/heapdump /opt/assist/record RUN ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo '$TIME_ZONE' > /etc/timezone EXPOSE 18080/tcp EXPOSE 18081/tcp EXPOSE 5060/tcp EXPOSE 5060/udp WORKDIR /opt/wvp CMD ["sh", "/opt/wvp/run.sh"]