License Manager Bug Issue

We have a problem with image build with syside license and syside. After the image is built. We can use the container for just few days. Then the license get expired. We need to rebuild the image to make it work again. How can we have the image build on the go ? Is there any command to put on Dockerfile or anything I need to do to update new license ?

This is our Dockerfile:
RUN pip install syside==0.8.1 syside-license==0.3.2
–index-url https://gitlab.com/api/v4/projects/69960816/packages/pypi/simple

RUN mkdir -p /opt/licenses && chmod 0755 /opt/licenses

ENV SYSIDE_LICENSE_FILE=/opt/licenses/automator-license.lic

ENV SYSIDE_LICENSE_KEY=XXXXXX-XXX….

Hello,

SYSIDE_LICENSE_FILE is a license cache. The cache is refreshed automatically when executing import syside in Python. To be able to refresh the cache, the process running Syside Automator must have access to our license server and be able to write /opt/licenses/automator-license.lic.

If you need to run your container in an air-gapped environment and your license has the offline entitlement, you can obtain automator-license.lic with a longer validity using the syside-license tool:

syside-license --renew-if-shorter “1 month” --renew-duration “1 month”

will ensure that the license file is valid for at least a month.

Let us know whether it worked for you.