Accès aux dépôts EOLE nécessaire

This commit is contained in:
2023-06-26 15:19:51 +02:00
parent 9e9fdee0d6
commit d87e587a45
7 changed files with 167 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#!/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
echo 'COPY datasets/eole-2.7.1/eole-2.7.1.list /etc/apt/sources.list.d/eole.list' >> Dockerfile
echo 'COPY datasets/eole-2.7.1/eole-archive-eole-2.7-bionic-beaver.gpg /root/eole-2.7-repository.key' >> Dockerfile
echo 'COPY datasets/eole-2.7.0/eole-archive-eole-samba-4.9.gpg /root/eole-samba-4.9.key' >> Dockerfile
echo 'RUN apt-key add /root/eole-2.7-repository.key' >> Dockerfile
echo 'RUN apt-key add /root/eole-samba-4.9.key' >> Dockerfile
if [ -e './datasets/aptly/aptly.list' ]
then
echo 'COPY datasets/aptly/aptly.list /etc/apt/sources.list.d/aptly.list' >> Dockerfile
echo 'COPY datasets/aptly/aptly.key /root/aptly.key' >> Dockerfile
echo 'RUN apt-key add /root/aptly.key' >> Dockerfile
fi
echo 'RUN apt-get update' >> Dockerfile
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile
exit 0