Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Dockerfile fixes for PolyTracker short tool paper #6570

Merged
merged 9 commits into from
Jul 3, 2024

Conversation

kaoudis
Copy link
Collaborator

@kaoudis kaoudis commented Jul 3, 2024

Fixes dead sources links and WORKDIR assumptions, as well as missing dependencies, for some of the example builds. This gave me the ability to build and gather data from the following:

  • libpng / Acropalypse demo
  • daedalus pdf
  • file
  • ffmpeg
  • jq
  • libjpeg
  • mupdf
  • nitro
  • openjpg
  • poppler
  • qpdf
  • xpdf

Remainder that error out for missing dependency or build failure reasons before we get to instrumentation:

  • pdfium
  • listgen
  • daedalus nitf

@kaoudis kaoudis self-assigned this Jul 3, 2024
@kaoudis kaoudis requested a review from ESultanik as a code owner July 3, 2024 15:57
RUN git clone https://github.com/file/file.git
WORKDIR /polytracker/the_klondike/file
RUN git fetch --tags && \
git checkout tags/FILE5_41
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this just pins a file version that seems compatible with when this dockerfile was originally created. I dont think we pinned a version before.

Copy link
Collaborator

@ESultanik ESultanik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

RUN wget http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz
RUN tar -xvf libxml2-2.9.10.tar.gz
WORKDIR libxml2-2.9.10
RUN wget http://xmlsoft.org/sources/libxml2-2.9.11.tar.gz
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was getting a Python macro error with previous version

@kaoudis kaoudis merged commit a90f9dd into master Jul 3, 2024
12 checks passed
@kaoudis kaoudis deleted the kaoudis/dockerfile-minor-adjustments branch July 3, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants