Skip to content
Permalink
Browse files

Dockerfile: Remove bad whitespaces

  • Loading branch information...
pnhofmann committed Aug 20, 2018
1 parent baa7154 commit 3f2a2f7577eb2b0599d7f08269798ce07b4fa56a
Showing with 8 additions and 8 deletions.
  1. +4 −4 docker/Dockerfile
  2. +4 −4 docker/Dockerfile.alpine
@@ -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

0 comments on commit 3f2a2f7

Please sign in to comment.
You can’t perform that action at this time.