From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-91-241.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:622a:1051:b0:419:6cf4:247d with SMTP id f17-20020a05622a105100b004196cf4247dmr12877qte.10.1696377775931; Tue, 03 Oct 2023 17:02:55 -0700 (PDT) X-Received: by 2002:a9d:6b18:0:b0:6c4:b0e7:7403 with SMTP id g24-20020a9d6b18000000b006c4b0e77403mr211648otp.6.1696377775686; Tue, 03 Oct 2023 17:02:55 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!usenet.ovh!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 3 Oct 2023 17:02:55 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns NNTP-Posting-Host: 98.59.238.112 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2808840a-fc4c-48cf-90f5-9118bc1039b4n@googlegroups.com> Subject: Re: questions regarding Docker, Ada and Alire From: Kenneth Wolcott Injection-Date: Wed, 04 Oct 2023 00:02:55 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3037 Xref: news.eternal-september.org comp.lang.ada:65774 List-Id: On Tuesday, October 3, 2023 at 2:44:56=E2=80=AFPM UTC-7, Kenneth Wolcott wr= ote: > Hi;=20 >=20 > Has anybody used a Docker container with Ada and Alire (obviously Linux)?= =20 >=20 > If so,=20 >=20 > 1. did you create a Docker image using a Dockerfile?=20 >=20 > or=20 >=20 > 2. did you find a Docker base (eg: official Docker Ubuntu) image and modi= fy it by downloading gnat source, compiling and installing it and then down= loading Alire, compiling and installing it?=20 >=20 > or=20 >=20 > 3. Found an exiting Docker Linux image with all of the above all nicely p= reconfigured?=20 >=20 > If you used a Dockerfile, would you mind sharing it?=20 >=20 > I'm on a Mac with M1 chip and would like to consider getting Ada and Alir= e working in this manner as an alternative that *might* work more effective= ly than what I'm trying now.=20 >=20 > Thanks,=20 > Ken Wolcott Update: I chose the gcc linux/amd64 Docker Official Image (could have chosen Ubun= tu, Fedora, Debian, Rocky, etc). I downloaded the Linux Alire package and copied it over to the Docker con= tainer interactively running bash using the aforementioned Docker image. I was able to get Alire to install the gnat native compiler for gcc13. Now what remains is for me to re-learn how to use Docker and how to use A= lire...like getting the Alire Docker container environment to be persistent= ... Perhaps I will try a different official Docker image as a base to start w= ith as I really don't need anything gcc related that Alire doesn't provide.= .. Perhaps I will try to create my own Dockerfile to create my own Docker im= age in which to run containers from. I was hoping (still hoping) to get some sage advice from those here on an= y gotchas or suggestions to enhance the experience... Thanks, Ken