... | ... | @@ -26,3 +26,27 @@ |
|
|
* sudo pbuilder build --basetgz /var/cache/pbuilder/$dist.tgz --distribution $dist --debbuildopts '--changes-option=-sa' --buildresult . ../../*.dsc
|
|
|
* dupload --to ee-debian python-ldap*changes
|
|
|
* docker build -t ee-test .
|
|
|
|
|
|
# Dockerfile
|
|
|
|
|
|
```
|
|
|
FROM debian:buster
|
|
|
|
|
|
RUN apt-get update && apt-get install -y gpg wget
|
|
|
|
|
|
RUN gpg --keyserver keyserver.ubuntu.com --recv-key 04EE7237B7D453EC && gpg --armor --export 04EE7237B7D453EC | apt-key add -
|
|
|
RUN echo deb http://deb.debian.org/debian buster-backports main >> /etc/apt/sources.list
|
|
|
|
|
|
RUN wget -O - https://deb.entrouvert.org/entrouvert.gpg | apt-key add -
|
|
|
RUN echo deb http://deb.entrouvert.org/ buster main >> /etc/apt/sources.list
|
|
|
|
|
|
RUN wget -qO - http://apt.easter-eggs.com/apt.easter-eggs.com.gpg.asc | apt-key add -
|
|
|
RUN echo deb http://apt.easter-eggs.com/debian buster-ee main >> /etc/apt/sources.list
|
|
|
|
|
|
RUN apt-get update && apt-get install -y -t buster-ee python3-ldap # 1
|
|
|
RUN ! dpkg -l python3-ldap | grep 3.3.1
|
|
|
COPY python3-ldap_3.3.1-1~eebpo100+1_amd64.deb .
|
|
|
RUN dpkg -i python3-ldap_3.3.1-1~eebpo100+1_amd64.deb
|
|
|
RUN dpkg -l python3-ldap | grep 3.3.1
|
|
|
RUN python3 -c 'import ldap'
|
|
|
``` |
|
|
\ No newline at end of file |