The foundry nuke in docker container
- Can be use as nuke plugin test environment: example
- Exclude files that usually not necessary for container to reduce image size (Documentation, OCIOConfig, large plugins, optional libraries).
- Prebuilt images for all nuke versions that downloadable from official site.
> docker run -it --rm -e foundry_LICENSE=5053@10.0.2.2 natescarlet/nuke:10.5v7
Nuke 10.5v7, 64 bit, built Nov 14 2017.
Copyright (c) 2017 The Foundry Visionmongers Ltd. All Rights Reserved.
>>> import nuke
>>> nuke.NUKE_VERSION_STRING
'10.5v7'
>>> nuke.createNode('Constant')
<Constant1 at 0x2781570>
>>>
Use environment variable foundry_LICENSE
to specify license server
docker run -it --rm -e foundry_LICENSE=<your license server> natescarlet/nuke:11.3v2
Mount your FLEXlm license file
docker run -it --rm -e -v <your license path>:/usr/local/foundry/FLEXlm natescarlet/nuke:11.3v2
For nuke 10.5v2
docker build --build-arg NUKE_MAJOR=10 --build-arg NUKE_MINOR=5 --build-arg NUKE_PATCH=2 --tag natescarlet/nuke:10.5v2 .
New nuke version will be auto added by CI on the 1st of every month.
tags:
-
latest:
latest
-
major:
9
,10
,11
,12
-
minor:
9.0
,10.0
,10.5
, ... -
patch:
9.0v1
,9.0v2
,9.0v3
, ...