mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-10 14:11:25 +00:00
Merge branch 'master' of https://gitlab.alfresco.com/search_discovery/solr
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
FROM java:8
|
||||
MAINTAINER Gethin James, gethin.james@alfresco.com
|
||||
|
||||
ARG SOLR_ZIP
|
||||
ENV SOLR_ZIP target/alfresco-solr-distribution-*.zip
|
||||
ENV DIST_DIR /opt/alfresco-solr
|
||||
|
||||
RUN groupadd -r solr && useradd -r -g solr -s /bin/bash solr
|
||||
|
@@ -2,7 +2,7 @@
|
||||
rm -rf target/alfresco-solr
|
||||
rm -rf target/solr-*
|
||||
rm -rf target/dependency-maven-plugin-markers
|
||||
export SOLR_VER=1.0-SNAPSHOT
|
||||
docker build --build-arg SOLR_ZIP=target/alfresco-solr-distribution-${SOLR_VER}.zip -t dockerreg.alfresco.com/alfresco-solr:6.0${bamboo_buildNumber} -t dockerreg.alfresco.com/alfresco-solr:latest .
|
||||
|
||||
docker build -t dockerreg.alfresco.com/alfresco-solr:6.0${bamboo_buildNumber} -t dockerreg.alfresco.com/alfresco-solr:latest .
|
||||
|
||||
echo "Now type: docker run --rm -p 8983:8983 dockerreg.alfresco.com/alfresco-solr:6.0${bamboo_buildNumber}"
|
||||
|
Reference in New Issue
Block a user