> On Jun 21, 2023, at 12:37 PM, Emmanuel Lécharny <[email protected]> wrote:
> 
> I'm trying to create the openLdap image for docker, and I get some error:
> 
> $ docker build -t apachedirectory/openldap-for-apache-fortress-tests -f 
> src/docker/openldap-for-apache-fortress-tests/Dockerfile .
> [+] Building 5.0s (6/9) 
> => [internal] load build definition from Dockerfile                          
> 0.0s
> => => transferring dockerfile: 37B                          0.0s
> => [internal] load .dockerignore                          0.0s
> => => transferring context: 2B                          0.0s
> => [internal] load metadata for docker.io/library/debian:bullseye-slim        
>                   3.5s
> => [internal] load build context                          0.0s
> => => transferring context: 342B                          0.0s
> => CACHED [1/5] FROM 
> docker.io/library/debian:bullseye-slim@sha256:924df86f8aad741a0134b2de7d8e70c5c6863f839caadef62609c1be1340daf5
>                                      0.0s
> => ERROR [2/5] RUN apt-get update && apt-get install -y 
> --no-install-recommends          gnupg          ca-certificates    && apt-key 
> adv --keyserver keyserver.ubuntu.com --recv-keys DA26A148887DCBEB    && echo 
> 'deb https://repo.symas.com  1.4s
> ------ 
> > [2/5] RUN apt-get update && apt-get install -y --no-install-recommends      
> >     gnupg          ca-certificates    && apt-key adv --keyserver 
> > keyserver.ubuntu.com --recv-keys DA26A148887DCBEB    && echo 'deb 
> > https://repo.symas.com/repo/deb/main/release25 bullseye main' > 
> > /etc/apt/sources.list.d/soldap-release25.list    && apt-get update && 
> > apt-get install -y --no-install-recommends symas-openldap-clients          
> > symas-openldap-server    && rm -rf /var/lib/apt/lists/*    && rm 
> > /etc/apt/sources.list.d/soldap-release25.list: 
> #4 0.477 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] 
> #4 0.888 Get:2 http://deb.debian.org/debian-security bullseye-security 
> InRelease [48.4 kB] 
> #4 0.906 Err:1 http://deb.debian.org/debian bullseye InRelease
> #4 0.906   At least one invalid signature was encountered.
> #4 0.965 Err:2 http://deb.debian.org/debian-security bullseye-security 
> InRelease
> #4 0.965   At least one invalid signature was encountered.
> #4 1.328 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 
> kB]
> #4 1.391 Err:3 http://deb.debian.org/debian bullseye-updates InRelease
> #4 1.391   At least one invalid signature was encountered.

Ah, I’ll have to double check but I’m betting you need to do this first:

```
The very first time to do installation on a system you must install Symas' GPG 
signing key:
• wget https://repo.symas.com/repo/gpg/RPM-GPG-KEY-symas-com-signing-key -O 
/usr/share/keyrings/symas-key.asc
```

From the repo.symas.com[1] installation instructions.  Let me know if this is 
the case and I’ll update the docker setup instructions.  Good catch btw.

Thanks

—
Shawn

[1]https://repo.symas.com/soldap2.5/ubuntu22/



> #4 1.395 Reading package lists...
> #4 1.403 W: GPG error: http://deb.debian.org/debian bullseye InRelease: At 
> least one invalid signature was encountered.
> #4 1.403 E: The repository 'http://deb.debian.org/debian bullseye InRelease' 
> is not signed.
> #4 1.403 W: GPG error: http://deb.debian.org/debian-security 
> bullseye-security InRelease: At least one invalid signature was encountered.
> #4 1.403 E: The repository 'http://deb.debian.org/debian-security 
> bullseye-security InRelease' is not signed.
> #4 1.403 W: GPG error: http://deb.debian.org/debian bullseye-updates 
> InRelease: At least one invalid signature was encountered.
> #4 1.403 E: The repository 'http://deb.debian.org/debian bullseye-updates 
> InRelease' is not signed.
> ------
> executor failed running [/bin/sh -c apt-get update && apt-get install -y 
> --no-install-recommends          gnupg          ca-certificates    && apt-key 
> adv --keyserver keyserver.ubuntu.com --recv-keys DA26A148887DCBEB    && echo 
> 'deb https://repo.symas.com/repo/deb/main/release25 bullseye main' > 
> /etc/apt/sources.list.d/soldap-release25.list    && apt-get update && apt-get 
> install -y --no-install-recommends symas-openldap-clients          
> symas-openldap-server    && rm -rf /var/lib/apt/lists/*    && rm 
> /etc/apt/sources.list.d/soldap-release25.list]: exit code: 100
> 
> 
> I'm in a train atm, so it's diffult for me to investigate, so if you have a 
> quick clue, it will be appreciated, otherwise I'll check when at home. No 
> biggie nor urgency !


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to