Dockerfile: Remove bad whitespaces

pull/220/head
Philipp Hofmann 6 years ago
parent baa7154486
commit 3f2a2f7577

@ -1,14 +1,14 @@
# Build a docker image from latest YaCy sources
# Base image : latest stable official jdk image from Docker (Debian based)
# Base image : latest stable official jdk image from Docker (Debian based)
FROM openjdk:latest
# Install needed packages not in base image
RUN apt-get update && apt-get install -yq curl
# trace java version
RUN java -version
# set current working dir
WORKDIR /opt
@ -27,7 +27,7 @@ RUN apt-get update && \
git clone https://github.com/yacy/yacy_search_server.git && \
ant compile -f /opt/yacy_search_server/build.xml && \
rm -rf /opt/yacy_search_server/.git && \
apt-get purge -yq --auto-remove ant git && \
apt-get purge -yq --auto-remove ant git && \
apt-get clean

@ -1,6 +1,6 @@
# Build a docker image from latest YaCy sources on Alpine Linux
# Base image : latest stable official jdk image from Docker based on Alpine Linux
# Base image : latest stable official jdk image from Docker based on Alpine Linux
FROM openjdk:alpine
# trace java version
@ -35,11 +35,11 @@ RUN apk update && \
mv apache-ant-${ANT_VERSION} /opt/ant && \
rm -f apache-ant-${ANT_VERSION}-bin.tar.gz && \
apk del gnupg
# set ant required environment variables
ENV ANT_HOME /opt/ant
ENV ANT_HOME /opt/ant
ENV PATH ${PATH}:/opt/ant/bin
# --- End of apache ant install
# set current working dir

Loading…
Cancel
Save