mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
Added support for snapshots generation to Docker images
This commit is contained in:
parent
92e10d7d1c
commit
053df1f312
|
@ -1,10 +1,11 @@
|
||||||
# Build a docker image from latest YaCy sources
|
# Build a docker image from latest YaCy sources
|
||||||
|
|
||||||
# Base image : latest stable official jdk image from Docker (Debian based)
|
# Base image : latest Debian stable official jdk 8 image from Docker
|
||||||
FROM openjdk:latest
|
FROM openjdk:8-stretch
|
||||||
|
|
||||||
# Install needed packages not in base image
|
# Install needed packages not in base image
|
||||||
RUN apt-get update && apt-get install -yq curl && \
|
# (curl for sh scripts in /bin, and wkhtmltopdf,imagemagick,xvfb and ghostscript to enable PDF and image snapshot generation)
|
||||||
|
RUN apt-get update && apt-get install -yq curl wkhtmltopdf imagemagick xvfb ghostscript && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# trace java version
|
# trace java version
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
# Build a docker image from latest YaCy sources on Alpine Linux
|
# 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 8 image from Docker based on Alpine Linux
|
||||||
FROM openjdk:alpine
|
FROM openjdk:8-alpine
|
||||||
|
|
||||||
# trace java version
|
# trace java version
|
||||||
RUN java -version
|
RUN java -version
|
||||||
|
|
||||||
# Install needed packages not in base image
|
# Install needed packages not in base image
|
||||||
RUN apk add --no-cache curl
|
# (curl for sh scripts in /bin, and wkhtmltopdf,imagemagick,xvfb and ghostscript to enable PDF and image snapshot generation)
|
||||||
|
RUN apk add --no-cache curl imagemagick xvfb ghostscript && \
|
||||||
|
apk add wkhtmltopdf --no-cache --repository https://dl-3.alpinelinux.org/alpine/edge/testing/
|
||||||
|
|
||||||
# set current working dir
|
# set current working dir
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
|
@ -27,11 +27,11 @@ To build the Alpine variant :
|
||||||
|
|
||||||
`luccioman/yacy:latest`
|
`luccioman/yacy:latest`
|
||||||
|
|
||||||
This image is based on latest stable official Debian [openjdk](https://hub.docker.com/_/openjdk/) image provided by Docker. Embed Yacy compiled from latest git repository sources.
|
This image is based on latest stable official Debian stable [openjdk](https://hub.docker.com/_/openjdk/) 8 image provided by Docker. Embed Yacy compiled from latest git repository sources.
|
||||||
|
|
||||||
`luccioman/yacy:latest-alpine`
|
`luccioman/yacy:latest-alpine`
|
||||||
|
|
||||||
This image is based on latest stable official Alpine Linux [openjdk](https://hub.docker.com/_/openjdk/) image provided by Docker. Embed Yacy compiled from latest git repository sources.
|
This image is based on latest stable official Alpine Linux [openjdk](https://hub.docker.com/_/openjdk/) 8 image provided by Docker. Embed Yacy compiled from latest git repository sources.
|
||||||
|
|
||||||
## Default admin account
|
## Default admin account
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user