[Pdns-users] [EXT] Re: Buiding powerdns container images with podman

Cheikh Dieng tekdieng at gmail.com
Thu Mar 4 14:18:42 UTC 2021


Hum.. I understand.
In the first time I was directly launch the "docker-compose up -d" in the
pdns directory ..but get the following error:

COPY failed: file not found in build context or excluded by .dockerignore:
stat builder/helpers/set-configure-ac-version.sh: file does not existERROR:
Service 'recursor' failed to build*

I receive some help to tell me first doing in the first time the tree step:

git submodule init
git submodule update
./builder/build.sh

Once done, I get success to the "*docker-compose up*"  commande and get all
images (dnsdist, recursor, auth) with the "*docker image*" command.

In an other way, you are right I can take my centos-8 image in a Dockerfile
and perform the installation step by step.

Very thanks!



Le jeu. 4 mars 2021 à 13:07, Kevin P. Fleming <kevin at km6g.us> a écrit :

> I'm not sure that you are doing what you think you are doing; the
> process you are following does not build container images for
> *running* PowerDNS software, it uses containers to build installable
> packages of PowerDNS software.
>
> If your goal is to build an image for deploying PowerDNS software, you
> don't need to do any of this: you can just create a basic Dockerfile
> (to use with podman) or shell script (to use with buildah) which
> starts from a suitable base image (your choice of Linux distribution)
> and installs the necessary PowerDNS packages.
>
> On Thu, Mar 4, 2021 at 7:03 AM Cheikh Dieng via Pdns-users
> <pdns-users at mailman.powerdns.com> wrote:
> >
> > Sure !
> >
> > ====
> > [586062.628910] [178106]  1001 178106     3006       89    69632
> 0             0 build-specs.sh
> > [586062.635256] [178973]  1001 178973    23714      980   225280
> 0             0 rpmbuild
> > [586062.638735] [179018]  1001 179018     2973       76    69632
> 0             0 sh
> > [586062.642065] [186228]  1001 186228     1726       69    65536
> 0             0 make
> > [586062.645354] [186231]  1001 186231     1726       68    61440
> 0             0 make
> > [586062.649770] [186232]  1001 186232     2974       77    69632
> 0             0 sh
> > [586062.653263] [186621]  1001 186621     2974       76    65536
> 0             0 sh
> > [586062.656527] [186622]  1001 186622     1723       95    61440
> 0             0 make
> > [586062.660565] [186623]  1001 186623     2974       76    73728
> 0             0 sh
> > [586062.663908] [186628]  1001 186628     2974       76    69632
> 0             0 sh
> > [586062.667187] [186629]  1001 186629     1724       96    57344
> 0             0 make
> > [586062.671116] [186630]  1001 186630     1757       96    57344
> 0             0 make
> > [586062.675048] [186631]  1001 186631     3238      347    73728
> 0             0 sh
> > [586062.678703] [186670]  1001 186670     2322       63    61440
> 0             0 g++
> > [586062.682117] [186673]  1001 186673   176378   161924  1441792
> 0             0 cc1plus
> > [586062.685597] [186674]  1001 186674    24691    20928   237568
> 0             0 as
> > [586062.689328] [187007]  1001 187007    11102      334   122880
> 0             0 crun
> > [586062.693111]
> oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-27.scope,task=cc1plus,pid=186673,uid=1001
> > [586062.700272] Out of memory: Killed process 186673 (cc1plus)
> total-vm:705512kB, anon-rss:647696kB, file-rss:0kB, shmem-rss:0kB, UID:1001
> > [586062.749030] oom_reaper: reaped process 186673 (cc1plus), now
> anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
> > [pdns at dmz-bastion pdns]$
> > ===========
> >
> > I will increase the memory resources and re-test.
> > Very thanks for your help, I'll come back to you for the result.
> >
> >
> >
> > Le jeu. 4 mars 2021 à 12:54, Peter van Dijk via Pdns-users <
> pdns-users at mailman.powerdns.com> a écrit :
> >>
> >> On Thu, 2021-03-04 at 12:50 +0100, Cheikh Dieng wrote:
> >> > > g++: fatal error: Killed signal terminated program cc1plus
> >> > > compilation terminated.
> >>
> >> This usually means you ran out of memory. Can you check dmesg?
> >>
> >> Kind regards,
> >> --
> >> Peter van Dijk
> >> PowerDNS.COM BV - https://www.powerdns.com/
> >>
> >> _______________________________________________
> >> Pdns-users mailing list
> >> Pdns-users at mailman.powerdns.com
> >> https://mailman.powerdns.com/mailman/listinfo/pdns-users
> >
> > _______________________________________________
> > Pdns-users mailing list
> > Pdns-users at mailman.powerdns.com
> > https://mailman.powerdns.com/mailman/listinfo/pdns-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20210304/c57685da/attachment-0001.htm>


More information about the Pdns-users mailing list