Usage in docker

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
miskol
Posts: 5
Joined: Mon Mar 10, 2025 3:28 pm

Usage in docker

Post by miskol »

I want to use TwineCompile in docker
I can install TwineCompile in RAD Studio with getIt as I have license for RAD Studio.
So how can I transfer license to my docker image?
Or can use it without license ?

I want to use it for CI/CD with gitlab/github/gitea
jomitech
Site Admin
Posts: 2182
Joined: Wed Oct 08, 2008 12:23 am

Re: Usage in docker

Post by jomitech »

You can transfer the necessary files (jtmake.exe, mtbcc32.exe etc..) into your Docker image and use them without transferring any licenses. The license is linked to the IDE plugin, which I'm guessing you won't be using in the Docker image.

Let me know if that works for you, or feel free to provide additional context.
Jon
miskol
Posts: 5
Joined: Mon Mar 10, 2025 3:28 pm

Re: Usage in docker

Post by miskol »

I installed TwineCompile
Start-Process -NoNewWindow -Wait -FilePath 'C:\TwineCompile582TrialSetup.exe' -ArgumentList '/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART'

But it show me it is 30 day trial and it is counting down.
As I installed TwineCompile into docker image as step in Dockerfile
Yes, I can install TwineCompile every time I start docker image so I will have fresh 30 day trial :D
It is supper fast.

Any suggestions ?
Are there any difference when I have trial vs it isn't trial?
jomitech
Site Admin
Posts: 2182
Joined: Wed Oct 08, 2008 12:23 am

Re: Usage in docker

Post by jomitech »

I would recommend just building the files directly into your docker image instead of installing TwineCompile every time. You can get them from the TwineCompile Program Files directory that's created when installing off Get it.

There isn't really any overhead for using the trial, except for the trial warnings that are emitted during a compile, but installing each time will make your docker image start slower.
Jon
miskol
Posts: 5
Joined: Mon Mar 10, 2025 3:28 pm

Re: Usage in docker

Post by miskol »

Can you plz extend your TwineCompile license that we can use TwineCompile for free in docker for build server?
jomitech
Site Admin
Posts: 2182
Joined: Wed Oct 08, 2008 12:23 am

Re: Usage in docker

Post by jomitech »

The TwineCompile license does permit the use of TwineCompile in a build server. That's why I said you can just copy the files right over - it will work correctly.
Jon
miskol
Posts: 5
Joined: Mon Mar 10, 2025 3:28 pm

Re: Usage in docker

Post by miskol »

Great thx
Post Reply