-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c0a269
commit cc7a24a
Showing
4 changed files
with
83 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/.git/ | ||
/dist/ | ||
/results/ | ||
/tmp_check/ | ||
regression.* | ||
*.o | ||
*.so |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ARG PG_MAJOR=17 | ||
FROM postgres:$PG_MAJOR | ||
ARG PG_MAJOR | ||
|
||
COPY . /tmp/pgpdf | ||
|
||
RUN apt-get update && \ | ||
apt-mark hold locales && \ | ||
apt-get install -y --no-install-recommends libpoppler-glib-dev pkg-config wget build-essential postgresql-server-dev-$PG_MAJOR && \ | ||
cd /tmp/pgpdf && \ | ||
make clean && \ | ||
make install && \ | ||
mkdir /usr/share/doc/pgpdf && \ | ||
cp LICENSE README.md /usr/share/doc/pgpdf && \ | ||
rm -r /tmp/pgpdf && \ | ||
apt-get remove -y pkg-config wget build-essential postgresql-server-dev-$PG_MAJOR && \ | ||
apt-get autoremove -y && \ | ||
apt-mark unhold locales && \ | ||
rm -rf /var/lib/apt/lists/* |
This file contains 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
This file contains 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