Move all into single Dockerfile
This commit is contained in:
parent
e453fa5559
commit
5707282513
39
Dockerfile
39
Dockerfile
@ -1,6 +1,39 @@
|
||||
FROM recoll
|
||||
FROM debian:trixie-slim
|
||||
|
||||
RUN apt-get -y install breeze-icon-theme python3-venv && apt-get clean
|
||||
# install important dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
antiword \
|
||||
aspell \
|
||||
aspell-en \
|
||||
git \
|
||||
libxml2 \
|
||||
net-tools \
|
||||
poppler-utils \
|
||||
python3 \
|
||||
python3-chm \
|
||||
python3-libxml2 \
|
||||
python3-lxml \
|
||||
python3-pip \
|
||||
unrtf \
|
||||
unzip \
|
||||
vim
|
||||
|
||||
# install recollcmd from recolls programmers website
|
||||
COPY recoll.gpg /etc/apt/trusted.gpg.d/recoll.gpg
|
||||
RUN apt-get install --reinstall -y ca-certificates
|
||||
RUN apt-get update
|
||||
RUN echo deb http://www.lesbonscomptes.com/recoll/debian/ buster main > \
|
||||
/etc/apt/sources.list.d/recoll.list
|
||||
RUN echo deb-src http://www.lesbonscomptes.com/recoll/debian/ buster main >> \
|
||||
/etc/apt/sources.list.d/recoll.list
|
||||
RUN apt-get install -y --no-install-recommends recollcmd python3-recoll
|
||||
RUN apt-get autoremove
|
||||
|
||||
RUN apt-get -y install breeze-icon-theme python3-venv
|
||||
|
||||
# clean up
|
||||
RUN apt-get clean
|
||||
|
||||
ARG SQUIRREL_VERSION=0.4.0
|
||||
|
||||
@ -15,4 +48,4 @@ ENV SQUIRREL_CONFIG /etc/squirrel/config.json
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["/opt/squirrel/bin/squirrel"]
|
||||
CMD ["/opt/squirrel/bin/squirrel"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user