Ant1.8.2 Jdk7 Dockerfile
来源:互联网 发布:php获取url参数 编辑:程序博客网 时间:2024/05/17 07:41
FROM frekele/java:jdk7MAINTAINER jiankunking <jdk7 ant 1.8.2>ENV ANT_VERSION=1.8.2 ENV ANT_HOME=/opt/ant# change to tmp folderWORKDIR /tmp# Download and extract apache ant to opt folderRUN wget --no-check-certificate --no-cookies http://archive.apache.org/dist/ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz \ && wget --no-check-certificate --no-cookies http://archive.apache.org/dist/ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz.md5 \ && tar -zvxf apache-ant-${ANT_VERSION}-bin.tar.gz -C /opt/ \ && ln -s /opt/apache-ant-${ANT_VERSION} /opt/ant \ && rm -f apache-ant-${ANT_VERSION}-bin.tar.gz \ && rm -f apache-ant-${ANT_VERSION}-bin.tar.gz.md5# add executables to pathRUN update-alternatives --install "/usr/bin/ant" "ant" "/opt/ant/bin/ant" 1 && \ update-alternatives --set "ant" "/opt/ant/bin/ant" # Add the files# ADD rootfs /# change to root folderWORKDIR /root
本文参考:https://hub.docker.com/r/frekele/ant/
其他版本参考:https://hub.docker.com/r/frekele/ant/
本文作者:jiankunking,出处:http://blog.csdn.net/jiankunking/
0 0
- Ant1.8.2 Jdk7 Dockerfile
- ANT1.8.2安装及其简单实用
- dockerfile
- DockerFile
- Dockerfile
- dockerfile
- Dockerfile
- dockerfile
- dockerfile
- dockerfile
- DockerFile
- Dockerfile
- JDK7
- ANT1.61常用命令
- ant1.7.1安装
- ant1.7.1安装
- eclipse3.4 + ant1.7 + junit4
- ubuntu12.04安装ant1.9.2
- 求n的阶乘的末尾有多少个零
- 20170404_请说出IP地址的5大分类
- 收集整理的shell游戏
- 【数据结构】中平衡搜索树的旋转方式解析
- Linux内核分析之简析加载和启动一个可执行程序
- Ant1.8.2 Jdk7 Dockerfile
- 1038. 统计同成绩学生(20)
- POJ 1590 -- 回文词
- new、引用
- sealed(C# 参考)
- 工作思想总结
- bzoj2190 [SDOI2008]仪仗队
- python3和2共存
- php,java实现组合模式