Harbour on Docker

170 views
Skip to first unread message

Paweł Wojciechowski

unread,
Jan 10, 2019, 12:59:51 AM1/10/19
to Harbour Developers
Hello.

Github: https://github.com/felixd/docker-harbour
Docker Hub: https://hub.docker.com/r/elmarit/harbour

I am creating Docker images with Harbour (elmarit:/harbour:hb_* images) and environments for building Harbour (elmarit:/harbour:compiler_* images)

Need Harbour 3.4? 

docker pull elmarit/harbour:latest
 or
docker pull elmarit/harbour:3.4 (Viktor)

Need Harbour 3.2 to build your project?

docker pull elmarit/harbour:3.2

Now you have working environment to build Your program, with all the libraries installed and properly configured. All you have to do is clone your repository and hbmk2 it ;)

----

Want to compile, test your own version of Harbour?

docker pull elmarit/harbour:compiler_clan6

Now you have properly configured environment to do that ;)

----

Images are created on top of ubuntu:latest image and were created with Docker multi-stage in mind (they are supposed to be fully working building environments, size is not critical here)


Why not to use Harbour to create microservices.

----

How layers are created and what they are used for?

+----------------------------+
| ubuntu:latest              |
+----------------------------+
| elmarit/harbour:build_*    |   # 1. Packages / libraries / ENV variables needed to build Harbour Projects are installed
+----------------------------+
| elmarit/harbour:compiler_* |   # 2. C/C++ compilers are installed on top of :build_* layer
+----------------------------+
| elmarit/harbour:hb_*       |   # 3. Harbour Projects are compiled using :compiler_* layer
+----------------------------+

----

It would be great if somebody can check if everything is fine! :)

Want to contribute? You're welcome!

Cheers, Paweł Wojciechowski

BTW, great job with Harbour Project! ;)

Reply all
Reply to author
Forward
0 new messages