diff --git a/Dockerfile b/Dockerfile index 7438680..ef7b963 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ADD https://salsa.debian.org/postgresql/postgresql-common/-/raw/master/pgdg/apt. RUN chmod +x /usr/local/bin/apt.postgresql.org.sh \ && apt-get update \ && apt-get install -y --no-install-recommends \ - build-essential clang llvm llvm-dev llvm-runtime \ + build-essential clang llvm llvm-dev llvm-runtime cmake \ pgxnclient libtap-parser-sourcehandler-pgtap-perl sudo gosu \ ca-certificates gnupg2 zip unzip curl git libicu-dev libxml2 locales ssl-cert \ && apt-get -y purge postgresql-client-common \ @@ -18,7 +18,12 @@ RUN chmod +x /usr/local/bin/apt.postgresql.org.sh \ && perl -i -pe 's/\bALL$/NOPASSWD:ALL/g' /etc/sudoers \ && echo 'postgres ALL=(ALL:ALL) NOPASSWD:ALL' >> /etc/sudoers \ # Ensure Git can do stuff in the working directory (issue #5). - && git config --system --add safe.directory '*' + && git config --system --add safe.directory '*' \ + # Install git-archive-all + && curl -O https://raw.githubusercontent.com/Kentzo/git-archive-all/1.23.1/git_archive_all.py \ + && perl -i -pe 's/python/python3/' git_archive_all.py \ + && install -m 0755 git_archive_all.py "$(git --exec-path)/git-archive-all" \ + && rm git_archive_all.py COPY bin/* /usr/local/bin/ diff --git a/README.md b/README.md index 34309f0..d1f9e96 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,7 @@ The image includes these packages; pass additional packages to * [llvm](https://packages.debian.org/bookworm/llvm) * [llvm-dev](https://packages.debian.org/bookworm/llvm-dev) * [llvm-runtime](https://packages.debian.org/bookworm/llvm-runtime) +* [cmake](https://packages.debian.org/bookworm/cmake) * [pgxnclient](https://packages.debian.org/bookworm/pgxnclient) * [libtap-parser-sourcehandler-pgtap-perl](https://packages.debian.org/bookworm/libtap-parser-sourcehandler-pgtap-perl) * [sudo](https://packages.debian.org/bookworm/sudo) @@ -354,6 +355,7 @@ The image includes these packages; pass additional packages to * [libxml2](https://packages.debian.org/bookworm/libxml2) * [locales](https://packages.debian.org/bookworm/locales) * [ssl-cert](https://packages.debian.org/bookworm/ssl-cert) +* [git-archive-all](https://github.com/Kentzo/git-archive-all) (run `git archive-all`) Author ------