mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-10-08 14:51:18 +00:00
REPO-3425 Transformers: Tika based transformers
This commit is contained in:
20
alfresco-docker-tika/Dockerfile
Normal file
20
alfresco-docker-tika/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Image provides a container in which to run Tika transformations for Alfresco Enterprise Content Services.
|
||||
|
||||
# The container is only intended to be used with the Alfresco Enterprise editon which is covered by https://www.alfresco.com/legal/agreements and https://www.alfresco.com/terms-use.
|
||||
# Tika is from Apache. See the license at http://www.apache.org/licenses/LICENSE-2.0.
|
||||
|
||||
FROM alfresco/alfresco-base-java:8
|
||||
|
||||
ENV APACHE_LICENSE_FILE=https://github.com/Alfresco/acs-community-packaging/blob/master/distribution/src/main/resources/licenses/3rd-party/Apache%202.0.txt
|
||||
|
||||
COPY target/alfresco-docker-tika-${env.project_version}.jar /usr/bin
|
||||
|
||||
RUN ln /usr/bin/alfresco-docker-tika-${env.project_version}.jar /usr/bin/alfresco-docker-tika.jar && \
|
||||
yum install -y wget && \
|
||||
wget $APACHE_LICENSE_FILE && \
|
||||
yum remove -y wget && \
|
||||
yum clean all
|
||||
|
||||
EXPOSE 8090
|
||||
|
||||
ENTRYPOINT java -jar /usr/bin/alfresco-docker-tika.jar
|
Reference in New Issue
Block a user