Also, rather than the repo folks can get the latest released script
etc bits from the source release archive at
https://activemq.apache.org/components/artemis/download/

On Tue, 23 May 2023 at 06:39, Vilius Šumskas <vilius.sums...@rivile.lt> wrote:
>
> Hi,
>
> you don't need whole repo, artemis-docker folder is enough.
>
> Regarding your docker error, you have to have Docker installed in order to 
> build the image. I suspect you are running bash script from WSL, but 
> environment doesn't have docker installed _inside_ WSL.
>
> --
>     Vilius
>
> -----Original Message-----
> From: Pablo Krause <pablo.kra...@tenser.mx>
> Sent: Tuesday, May 23, 2023 6:35 AM
> To: users@activemq.apache.org
> Subject: Re: Artemis docker container readme wrong or defective?
>
> Thanks for the fast response and help.
>
> First, nowhere in the doc does it say I must clone the whole repo. I
> (erroneously) supposed that by using the --from-release option It would 
> download the needed binary.
> Second, I was testing from bash Windows terminal I tried using Windows 
> Subsystem for Linux, and the prepare-docker.sh scrpts works fine, but the 
> docker build fails miserably with "lstat
> docker: no such file or directory".
> I'm guessing it doesn't work in WSL?
>
> I guess I'll build my own image as I did with the older activemq instead of 
> trying to make this work. It should be incredibly easy.
> Shouldn't need to clone the repo.
>
> On Sun, May 21, 2023 at 10:42 PM Domenico Francesco Bruscino 
> <bruscin...@gmail.com> wrote:
> >
> > Hi Pablo,
> >
> > it works for me, maybe your local repo is damaged or your current
> > directory is not `artemis-docker` when you run prepare-docker.sh.
> > Could you try the following commands:
> >
> > git clone g...@github.com:apache/activemq-artemis.git
> > /tmp/activemq-artemis cd /tmp/activemq-artemis/artemis-docker/
> > ./prepare-docker.sh --from-release --artemis-version 2.28.0
> >
> > Regards,
> > Domenico
> >
> > On Sun, 21 May 2023 at 06:03, Pablo Krause <pablo.kra...@tenser.mx> wrote:
> >
> > > I'm trying to create a docker container for artemis using this
> > > official
> > > readme:
> > > https://github.com/apache/activemq-artemis/tree/main/artemis-docker
> > >
> > > Either the doc is wrong/incomplete, the script is defective, or I am
> > > an idiot.
> > > In either case, help would be appreciated.
> > >
> > > In particular I am running this:
> > >
> > > ./prepare-docker.sh --from-release --artemis-version 2.28.0
> > >
> > > It successfully downloads stuff, and then it fails with "cp: cannot
> > > stat './Dockerfile-*': No such file or directory"
> > >
> > > Thanks.
> > >
>
>
>
> --
>
>
> Pablo Krause
> Tensegrity Services
> +52 (55) 8000 6750
> www.tenser.mx

Reply via email to