Profiles and data used to compile packages for EOLE distribution

This commit is contained in:
2025-08-04 11:34:29 +02:00
parent d87e587a45
commit 9305b1c161
146 changed files with 324 additions and 5 deletions

View File

@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -e
echo 'ENV DEBIAN_FRONTEND=noninteractive' >> Dockerfile
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends gnupg' >> Dockerfile
for gpg_key in $(find . -wholename "*/eole-2.10.0/*.gpg")
do
dest="$(basename $gpg_key)"
echo "COPY $gpg_key /etc/apt/trusted.gpg.d/$dest" >> Dockerfile
done
for source_list in $(find . -wholename "*/eole-2.10.0/*.list")
do
dest="$(basename $source_list)"
echo "COPY $source_list /etc/apt/sources.list.d/$dest" >> Dockerfile
done
if [ -e './datasets/pulp/pulp.key' ]
then
echo 'COPY datasets/pulp/pulp.key /root/pulp.key' >> Dockerfile
echo 'RUN apt-key add /root/pulp.key' >> Dockerfile
fi
echo 'RUN apt-get update' >> Dockerfile
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile
exit 0