You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We included the above dockerfile as a builder in our custom one for share like this FROM pdfjs-build:1.0.0 as pdfjs-builder
Apply this patch to the PdfJs.js in share all kudos to Axel, thanks!
FROM alfresco/alfresco-governance-share-community:7.1.0
.../...
# Update pdfsjs (see docker-pdfjs-builder/Dockerfile)
# This last pdfjs version requires some hacks in the alfresco's pdfjs script
RUN rm $TOMCAT_DIR/webapps/share/components/preview/PdfJs-min.js
COPY preview/PdfJs.js $TOMCAT_DIR/webapps/share/components/preview/PdfJs.js
# Remove the alfresco built-in one
RUN rm -fr $TOMCAT_DIR/webapps/share/components/preview/pdfjs
# Copy the pdfjs "artifact" created in the builder container
COPY --from=pdfjs-builder /tmp/pdfjs $TOMCAT_DIR/webapps/share/components/preview/pdfjs
It would be very cool if you guys could include a patch in a future release :)
Hello there,
FROM alfresco/alfresco-governance-share-community:7.1.0How to reproduce it:
/myfilesshare/page/document-details?nodeRef=workspace://SpacesStore/XXXXXProblem: the pdfjs used by

/shareis rendering blank pdf documents:Workaround:
FROM pdfjs-build:1.0.0 as pdfjs-builderIt would be very cool if you guys could include a patch in a future release :)
Thanks in advance,
Luis