Ant1.8.2 Jdk7 Dockerfile
FROM frekele/java:jdk7
MAINTAINER jiankunking <jdk7 ant 1.8.2>
ENV ANT_VERSION=1.8.2
ENV ANT_HOME=/opt/ant
# change to tmp folder
WORKDIR /tmp
# Download and extract apache ant to opt folder
RUN 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 path
RUN 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 folder
WORKDIR /root
本文參考:https://hub.docker.com/r/frekele/ant/
其他版本參考:https://hub.docker.com/r/frekele/ant/
本文作者:jiankunking,出處:http://blog.csdn.net/jiankunking/
相關文章
- DockerfileDocker
- Dockerfile技巧Docker
- Docker DockerfileDocker
- 一個dockerfile例子(參考著寫dockerfile)Docker
- centos6.2安裝jdk7CentOSJDK
- JDK7增強特性介紹JDK
- Dockerfile入門(使用Dockerfile生成jdk1.8映象)DockerJDK
- dockerfile 語法Docker
- Dockerfile編寫Docker
- Dockerfile常用指令Docker
- 編寫DockerFileDocker
- Dockerfile入門Docker
- Dockerfile詳解Docker
- Dockerfile建立映象Docker
- CentOS kafka dockerfileCentOSKafkaDocker
- CentOS zookeeper dockerfileCentOSDocker
- Dockerfile筆記Docker筆記
- Dockerfile學習Docker
- jdk7:淺談 AIO NIO2.0JDKAI
- Docker 入門:DockerfileDocker
- Docker_07 DockerfileDocker
- [Dockerfile構建映象]Docker
- DockerFile構建映象Docker
- Dockerfile 命令詳解Docker
- Docker的Dockerfile指令Docker
- Docker學習—DockerFileDocker
- 倉庫管理、dockerfileDocker
- Dockerfile定製映象Docker
- Docker 基礎 : DockerfileDocker
- Dockerfile構建MySQLDockerMySql
- dockerfile測試例子Docker
- Dockerfile指令詳解Docker
- 如何編寫DockerfileDocker
- Dockerfile中相似命令Docker
- JDK7的平行計算功能升級JDK
- Doug Lea談JDK7的Fork/Join框架JDK框架
- Dockerfile你值得擁有Docker
- Dockerfile映象的製作Docker