Created
November 5, 2024 21:50
-
-
Save andrew-smith/35be98dbaa0dae81818b20da0ca43953 to your computer and use it in GitHub Desktop.
Build raw2dng
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:22.04 | |
| RUN apt-get update | |
| RUN apt-get install -y build-essential libssl-dev curl wget git cmake | |
| # pull down repos | |
| RUN git clone https://github.com/Exiv2/exiv2.git | |
| RUN git clone https://github.com/Fimagena/raw2dng.git | |
| # raw 2 dng libs | |
| RUN apt install -y libraw-dev libexpat-dev libjpeg-dev pkg-config zlib1g-dev | |
| # build custom exiv2 version | |
| WORKDIR /exiv2 | |
| RUN git checkout v0.27.7 | |
| RUN mkdir build | |
| WORKDIR /exiv2/build | |
| RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DEXIV2_ENABLE_NLS=Off | |
| RUN cmake --build . --target install | |
| # build raw2dng | |
| WORKDIR /raw2dng | |
| RUN cmake ./ | |
| RUN make | |
| # optional | |
| RUN make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment