赞
踩
基础镜像,也可以改成自己的
xyjdk8:0.1
#FROM openjdk:8-jre-alpine FROM xyjdk8:0.1 MAINTAINER XiaoYe # 设置仓库, 因为基础镜像已经设置了,这里注释 #RUN echo "http://mirrors.aliyun.com/alpine/v3.10/main" > /etc/apk/repositories \ # && echo "http://mirrors.aliyun.com/alpine/v3.10/community" >> /etc/apk/repositories \ RUN apk update RUN apk add --no-cache procps unzip curl bash tzdata RUN apk add yasm && apk add ffmpeg #设置时区,解决时区问题 RUN echo "Asia/Shanghai" > /etc/timezone; ENV LANG C.UTF-8 CMD ["ffmpeg","-version"]
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。