mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
Upgraded Apache Ant to 1.10.1 in the Docker alpine flavor image
For a more reliable Docker image build, also switched to the ant archive repository to fetch the needed binary as other repositories only provide the latest versions.
This commit is contained in:
parent
54405577aa
commit
4306f4d9a3
|
@ -16,7 +16,7 @@ WORKDIR /tmp
|
|||
# --- Begin of apache ant install : from binary distribution because ant is not in alpine packages
|
||||
|
||||
# set ant version once in a environment variable
|
||||
ENV ANT_VERSION 1.10.0
|
||||
ENV ANT_VERSION 1.10.1
|
||||
|
||||
# All in one step to reduce image size growth :
|
||||
# - add gnupg package
|
||||
|
@ -26,8 +26,8 @@ ENV ANT_VERSION 1.10.0
|
|||
# - remove archive and gnupg package
|
||||
RUN apk update && \
|
||||
apk add --no-cache gnupg && \
|
||||
curl -fSL http://www.eu.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz -o apache-ant-${ANT_VERSION}-bin.tar.gz && \
|
||||
curl -fSL https://www.apache.org/dist/ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz.asc -o apache-ant-${ANT_VERSION}-bin.tar.gz.asc && \
|
||||
curl -fSL https://archive.apache.org/dist/ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz -o apache-ant-${ANT_VERSION}-bin.tar.gz && \
|
||||
curl -fSL https://archive.apache.org/dist/ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz.asc -o apache-ant-${ANT_VERSION}-bin.tar.gz.asc && \
|
||||
curl -fSL https://www.apache.org/dist/ant/KEYS | gpg --import && \
|
||||
gpg --verify apache-ant-${ANT_VERSION}-bin.tar.gz.asc && \
|
||||
tar xzf apache-ant-${ANT_VERSION}-bin.tar.gz && \
|
||||
|
|
Loading…
Reference in New Issue
Block a user