summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2016-05-11 17:38:24 +0200
committerluccioman <luccioman@users.noreply.github.com>2016-05-11 17:38:24 +0200
commit9b952e7d91c7bcaf7098e7a62759224297202762 (patch)
treeb3fc2ff005f5e94eed298e460322516277f6d802 /docker/Dockerfile
parenta784f214993ece98510892ebdd281b2f8b8c116e (diff)
Moved Dockerfile to project root
This is a try for automated build compatibility with Docker Hub
Diffstat (limited to 'docker/Dockerfile')
-rwxr-xr-xdocker/Dockerfile35
1 files changed, 0 insertions, 35 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
deleted file mode 100755
index 9a0224bdc..000000000
--- a/docker/Dockerfile
+++ /dev/null
@@ -1,35 +0,0 @@
-# Base image : latest stable Debian
-FROM debian:latest
-
-# Install needed packages
-RUN apt-get update && apt-get install -yq \
- default-jdk \
- ant
-
-# Clean apt cache
-RUN apt-get clean
-
-# copy context : should be a YaCy git repository (remote or locally cloned)
-# context can also be obtained from extracted sources archive, but version number will be default to 1.83/9000 when building
-COPY ./ /opt/yacy_search_server/
-
-# trace content of copied directory
-RUN ls /opt/yacy_search_server
-
-# set current working dir to extracted sources directory
-WORKDIR /opt/yacy_search_server
-
-# Compile with ant
-RUN ant clean compile
-
-# clean .git directory useless now
-RUN rm -rf .git
-
-# Expose port 8090
-EXPOSE 8090
-
-# Set data volume : can be used to persist yacy data and configuration
-VOLUME ["/opt/yacy_search_server/DATA"]
-
-# Start yacy ind debug mode (-d) to display console logs and to wait for yacy process
-CMD sh /opt/yacy_search_server/startYACY.sh -d