Docker Build Image #471
Replies: 4 comments 3 replies
-
Hi, Thanks for your info. If you have some trouble then you can try to ask. If I know than I will help you. |
Beta Was this translation helpful? Give feedback.
-
@jmalak I may not have explained this clearly. This is Docker image is not to build Open Watcom itself. It's meant to be used for end users like myself to build my own project using Open Watcom. For example. I'm writing a 16 bit OS and using Open Watcom v2 to compile. Rather than have to setup the Open Watcom environment on my local machine I can use this image. Here's a simple example. I use Scons but you can swap out for In my OS project I add a file
Then I can build my project by
By doing this I can build my project by running that second command. I never had to setup Open Watcom on my local machine. |
Beta Was this translation helpful? Give feedback.
-
I understand now. |
Beta Was this translation helpful? Give feedback.
-
For some reason, your Dockerfile didn't work for me in 2021. I had to use this hack:
|
Beta Was this translation helpful? Give feedback.
-
I absolutely love this project and am so appreciative of all the work that has gone into it. I hope my minor contribution can help others.
The largest problem I've had with Open Watcom is setting up the build environment, especially on a Mac. Once it's setup it's great. For this reason I thought it may be helpful to have a Docker build image. Not only will this make it incredibly easy to get started using Watcom but also it makes it possible/simple to use CI build tools like CircleCI or Jenkins.
Here's my initial stab at a Docker build image. It functions for my particular use case but I know I'm missing things and there's more work to do. I hope others will try it out, let me know what doesn't work and perhaps contribute.
https://hub.docker.com/r/lapinlabs/watcom/
Beta Was this translation helpful? Give feedback.
All reactions