Page 1 of 1

Usage in docker

Posted: Tue Mar 11, 2025 4:30 am
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

Re: Usage in docker

Posted: Tue Mar 11, 2025 6:43 pm
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.

Re: Usage in docker

Posted: Wed Mar 12, 2025 3:49 am
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?

Re: Usage in docker

Posted: Wed Mar 12, 2025 4:13 pm
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.

Re: Usage in docker

Posted: Thu Mar 13, 2025 2:15 am
by miskol
Can you plz extend your TwineCompile license that we can use TwineCompile for free in docker for build server?

Re: Usage in docker

Posted: Thu Mar 13, 2025 4:55 pm
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.

Re: Usage in docker

Posted: Fri Mar 14, 2025 3:50 am
by miskol
Great thx