Accès aux dépôts EOLE nécessaire
This commit is contained in:
21
hooks/containerbuild/eole-2.7.1/configure-additional-repository
Executable file
21
hooks/containerbuild/eole-2.7.1/configure-additional-repository
Executable 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
|
Reference in New Issue
Block a user