Fixed line end causing build error.

pull/55/head
luccioman 9 years ago
parent 48ea77b8cc
commit b54356baec

@ -52,12 +52,12 @@ WORKDIR /opt
# - remove unnecessary and size consuming .git directory # - remove unnecessary and size consuming .git directory
# - delete git package and ant binary install # - delete git package and ant binary install
RUN apk update && \ RUN apk update && \
apk add --no-cache git && \ apk add --no-cache git && \
git clone https://github.com/yacy/yacy_search_server.git && \ git clone https://github.com/yacy/yacy_search_server.git && \
ant compile -f /opt/yacy_search_server/build.xml && \ ant compile -f /opt/yacy_search_server/build.xml && \
rm -rf "/opt/yacy_search_server/.git" && \ rm -rf /opt/yacy_search_server/.git && \
rm -rf /opt/ant && \ rm -rf /opt/ant && \
apk del git apk del git
# Set initial admin password : "docker" (encoded with custom yacy md5 function net.yacy.cora.order.Digest.encodeMD5Hex()) # Set initial admin password : "docker" (encoded with custom yacy md5 function net.yacy.cora.order.Digest.encodeMD5Hex())
RUN sed -i "/adminAccountBase64MD5=/c\adminAccountBase64MD5=MD5:e672161ffdce91be4678605f4f4e6786" /opt/yacy_search_server/defaults/yacy.init RUN sed -i "/adminAccountBase64MD5=/c\adminAccountBase64MD5=MD5:e672161ffdce91be4678605f4f4e6786" /opt/yacy_search_server/defaults/yacy.init

Loading…
Cancel
Save