您的位置 首页 docker

jdk 17 ffmpeg 镜像制作dockerfile

jdk 17 ffmpeg 镜像制作dockerfile

 

FROM registry.cn-hangzhou.aliyuncs.com/baimeidashu-k8s/ffmpegcentos79:v1.1
MAINTAINER zhaozhiyong  "715740383@qq.com"
WORKDIR /jdk
ADD jdk-17_linux-x64_bin.tar.gz /jdk/
ENV JAVA_HOME=/jdk/jdk-17.0.9
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ENV PATH=$JAVA_HOME/bin:$PATH
CMD ["java","-version"]

 

然后:

ranhou

docker build -t registry.cn-hangzhou.aliyuncs.com/baimeidashu/jdk17ffmpeg:v1 --no-cache .


docker push registry.cn-hangzhou.aliyuncs.com/baimeidashu/jdk17ffmpeg:v1

 

 

 

欢迎来撩 : 汇总all

白眉大叔

关于白眉大叔linux云计算: 白眉大叔

热门文章