nuke-docker
nuke-docker copied to clipboard
:anchor:The foundry nuke in docker container
nuke-docker
The foundry nuke in docker container
- [x] Can be use as nuke plugin test environment: example
- [x] Exclude files that usually not necessary for container to reduce image size (Documentation, OCIOConfig, large plugins, optional libraries).
- [x] Prebuilt images for all nuke versions that downloadable from official site.
Usage
> docker run -it --rm -e [email protected] 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>
>>>
Setup license
RLM
Use environment variable foundry_LICENSE to specify license server
docker run -it --rm -e foundry_LICENSE=<your license server> natescarlet/nuke:11.3v2
FLEXlm
Mount your FLEXlm license file
docker run -it --rm -e -v <your license path>:/usr/local/foundry/FLEXlm natescarlet/nuke:11.3v2
Build yourself
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 .
Prebuilt images
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, ...