Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update for Bookworm
  • Loading branch information
cccs-rs authored Feb 19, 2024
2 parents 6a56329 + aec06c1 commit 7c89719
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ RUN apt-get update

RUN mkdir -p /usr/share/man/man1mkdir -p /usr/share/man/man1
RUN apt-get install -y tesseract-ocr libemail-outlook-message-perl libgdiplus unzip
RUN wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb
RUN apt-get install -y poppler-utils ./wkhtmltox_0.12.6-1.buster_amd64.deb --no-install-recommends &&\
rm -f ./wkhtmltox_0.12.6-1.buster_amd64.deb
RUN apt-get install -y poppler-utils wkhtmltopdf
RUN pip install Pillow==9.5.0 natsort imgkit compoundfiles compressed_rtf pytesseract

# Install Chrome for headless rendering of HTML documents
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
apt install -y ./google-chrome-stable_current_amd64.deb && rm -f ./google-chrome-stable_current_amd64.deb
apt install -o DPkg::Options::="--force-confnew" -y ./google-chrome-stable_current_amd64.deb && rm -f ./google-chrome-stable_current_amd64.deb

# Switch to assemblyline user
USER assemblyline
Expand Down
2 changes: 1 addition & 1 deletion service_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ heuristics:
docker_config:
image: ${REGISTRY}cccs/assemblyline-service-document-preview:$SERVICE_TAG
cpu_cores: 1
ram_mb: 1024
ram_mb: 4096

0 comments on commit 7c89719

Please sign in to comment.