Hi Dhruv,

You can't directly edit the docker image.
The better solution is to launch it with another entry point.
Something like:

sudo docker run --rm -it \
         -v `pwd`/sugarizer:/sugarizer \
         -v `pwd`/cordova-plugin-sugarizeros:/cordova-plugin-sugarizeros \
         -v `pwd`:/output \
         --entrypoint /bin/bash \
         llaske/sugarizer-apkbuilder:latest

It launch a command line into the docker so you're free to update the build
environment. Then you could launch the ./make_android.sh (the default entry
point for the image) to start generation.

Regards.

               Lionel.


Le mar. 24 mars 2020 à 13:16, <sugar-devel-requ...@lists.sugarlabs.org> a
écrit :

>
> Date: Tue, 24 Mar 2020 11:27:07 +0000
> From: Dhruv Misra <dhruvmi...@live.com>
> To: "sugar-devel@lists.sugarlabs.org"
>         <sugar-devel@lists.sugarlabs.org>
> Cc: "lio...@olpc-france.org" <lio...@olpc-france.org>
> Subject: [Sugar-devel] Sugarizer APK builder plugin addition
> Message-ID:
>         <
> maxpr01mb36166298a59aff803106169aba...@maxpr01mb3616.indprd01.prod.outlook.com
> >
>
> Content-Type: text/plain; charset="windows-1252"
>
> Hey there,
>
> I’m trying to add a Cordova plugin to the APK builder. The docker command
> to build the APK currently uses the docker repository which cannot be
> edited. Can someone tell me the steps to edit and run a local copy of the
> container in docker using the GitHub repository<
> https://github.com/llaske/sugarizer-apkbuilder> source or any other
> method.
>
> Thanks,
> Dhruv Misra
>
>
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to