A development environment based on docker

walkero · 464

walkero

  • Newbie
  • *
    • Posts: 5
    • Karma: +0/-0
on: October 04, 2019, 11:06:26 AM
Hello guys,
Along with the fine work paolone did with his preconfigured development environment, I set up an alternative solution based on docker. This is based on paolone's guides at Icaros website and it is full open sourced, so that anyone can change it. You can find it at https://github.com/walkero-gr/dde4aros

A solution based on docker has some good benefits.
1. Is is small. You download less than 300MB
2. It is possible to use version control on your development environment, as it is just a script that builds the environment
3. Users don't need to build the docker image development environment, because it is available from docker repo (hub.docker.com)
4. Users can prepare their environment by installing docker on their machine and using one command line in terminal. Please check the github for more info
5. In case there is an updated version of the development environment, they just update it downloading the newer image, without making any changes to their projects' code
6. Their projects' files are shared between the host machine and the development environment. So they can use whatever tools they use for developing code, without them need to use Ubuntu tools
7. It works perfectly on Windows, MacOS and Linux.
8. If for some reason the development environment breaks, user doesn't loose any code. He can re-download the docker image and he is ready to go

Right now it is able to fully compile AROS x86-64 but I didn't try any other applications. I would love to hear your opinions and ideas, and also if there are any changes that you would like to get on the system. You can open issues for bugs and enhancements.



paolone

  • Senior Member
  • ****
    • Posts: 294
    • Karma: +3/-0
Reply #1 on: October 04, 2019, 12:06:31 PM
@walkero


It seems great and it would be perfect if it also handled compiling ABIv0 i386 AROS and related applications (so programs can be easily made available BOTH for current AROS i386 users and new x86 pioneers). I am also studying a solution in this sense for my development environment as well, in the hope it won't need me to repack and re-transfer it to the webiste :D





walkero

  • Newbie
  • *
    • Posts: 5
    • Karma: +0/-0
Reply #2 on: October 07, 2019, 09:52:11 AM
@paolone
I am glad you like that solution. I wonder if there are any tutorials on the prerequisites to set up a system to compile for AROS i386. If there is, I could update the dde3aros and include that as well.

Currently I am looking at the following pages:
http://www.aros.org/documentation/developers/compiling.php#building-several-targets-from-the-same-source
https://github.com/aros-development-team/AROS/tree/master/scripts/azure-pipelines.yml

I am always here to help, as much as I can, and bring a good development environment for everyone.
« Last Edit: October 07, 2019, 10:04:31 AM by walkero »



paolone

  • Senior Member
  • ****
    • Posts: 294
    • Karma: +3/-0
Reply #3 on: October 07, 2019, 12:12:30 PM
@paolone
I am glad you like that solution. I wonder if there are any tutorials on the prerequisites to set up a system to compile for AROS i386. If there is, I could update the dde3aros and include that as well.

Currently I am looking at the following pages:
http://www.aros.org/documentation/developers/compiling.php#building-several-targets-from-the-same-source
https://github.com/aros-development-team/AROS/tree/master/scripts/azure-pipelines.yml

I am always here to help, as much as I can, and bring a good development environment for everyone.


AFAIK, AROS sources between ABIv0 and ABIv1 are different, and kept into different directories. I don't even know if there is any GIT-based repository for ABIv0. Real AROS developer can be more helpful than me on this matter.


wawa

  • Senior Member
  • ****
    • Posts: 252
    • Karma: +1/-0
Reply #4 on: October 08, 2019, 10:53:27 PM
marlon on amigaports has prepared few docker images to compile stuff for amiga platforms, im not sure what does he include for aros but id assume x86_64 might be his choice.



walkero

  • Newbie
  • *
    • Posts: 5
    • Karma: +0/-0
Reply #5 on: October 09, 2019, 09:52:38 AM
@wawa
Great. I didn't know about his work. I am checking his github. It seems that he doesn't have for AROS anything. I will try to contact him and see how we can cooperate.
Thanks



wawa

  • Senior Member
  • ****
    • Posts: 252
    • Karma: +1/-0
Reply #6 on: October 09, 2019, 11:37:15 AM
umm sorry. the docker in question doesnt exist yet.



jman

  • Newbie
  • *
    • Posts: 2
    • Karma: +0/-0
Reply #7 on: October 09, 2019, 11:42:28 AM
hello @walkero,

yes Marlon is building a unified workflow for all "Amiga-ish" platforms. Currently the AROS toolchain is missing.

https://github.com/AmigaPorts/docker-amiga-gcc

Since I need that too, I wanted to try helping on the AROS front :-)



paolone

  • Senior Member
  • ****
    • Posts: 294
    • Karma: +3/-0
Reply #8 on: October 09, 2019, 02:13:23 PM
hello @walkero,

yes Marlon is building a unified workflow for all "Amiga-ish" platforms. Currently the AROS toolchain is missing.

https://github.com/AmigaPorts/docker-amiga-gcc

Since I need that too, I wanted to try helping on the AROS front :-)


Very good!


deadwood

  • AROS Developer
  • Junior Member
  • *****
    • Posts: 55
    • Karma: +2/-0
Reply #9 on: October 09, 2019, 07:26:55 PM
AFAIK, AROS sources between ABIv0 and ABIv1 are different, and kept into different directories. I don't even know if there is any GIT-based repository for ABIv0. Real AROS developer can be more helpful than me on this matter.

Yes, ABIv0 source branch is maintained and public:

https://github.com/deadw00d/AROS/tree/alt-abiv0





salvo

  • Member
  • ***
    • Posts: 202
    • Karma: +0/-0
  • Invalid Civil
Reply #10 on: October 09, 2019, 07:57:41 PM
so all the work done now for abiv1 is available for abiv0? :), Paolone maybe is possible upgrade icaros :D
« Last Edit: October 09, 2019, 08:12:53 PM by salvo »

Icaros on HP Z600 Intel Xeon X5570 3 Ghz, Nvidia 8400gs, Apple Cinema Display 30"


deadwood

  • AROS Developer
  • Junior Member
  • *****
    • Posts: 55
    • Karma: +2/-0
Reply #11 on: October 09, 2019, 08:17:11 PM
No, that repository is not updated with latest ABIv1 changes, but this is a place where people can for example submit bugfixes.



salvo

  • Member
  • ***
    • Posts: 202
    • Karma: +0/-0
  • Invalid Civil
Reply #12 on: October 09, 2019, 08:20:48 PM
ok thank's deadwood :)

Icaros on HP Z600 Intel Xeon X5570 3 Ghz, Nvidia 8400gs, Apple Cinema Display 30"


paolone

  • Senior Member
  • ****
    • Posts: 294
    • Karma: +3/-0
Reply #13 on: October 09, 2019, 10:24:51 PM

Yes, ABIv0 source branch is maintained and public:

https://github.com/deadw00d/AROS/tree/alt-abiv0
Great! I must take ABIv0 or at least add my VM a script to download and compile them.


deadwood

  • AROS Developer
  • Junior Member
  • *****
    • Posts: 55
    • Karma: +2/-0
Reply #14 on: October 12, 2019, 07:59:16 AM

Yes, ABIv0 source branch is maintained and public:

https://github.com/deadw00d/AROS/tree/alt-abiv0
Great! I must take ABIv0 or at least add my VM a script to download and compile them.

If you have any issues with integrating it, just let me know and I'll help :)