forked from eradiate/eradiate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-build.yml
63 lines (57 loc) · 2.09 KB
/
docker-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3.9'
services:
# Base image for every other Eradiate images.
# Provides Miniconda
eradiate-base:
image: ${REGISTRY:-rayference}/eradiate-base:${VERSION:-dirty}
build:
context: docker/eradiate-base
args:
BASE_IMAGE: ubuntu
BASE_IMAGE_VERSION: 20.04
# Image which builds the Eradiate kernel
# Is used to standardise the toolchain version
# Convenient way to ship the mitsuba kernel dist archive
eradiate-kernel-builder:
image: ${REGISTRY:-rayference}/eradiate-kernel-builder:${VERSION:-dirty}
build:
context: .
dockerfile: docker/eradiate-kernel-builder/Dockerfile
args:
BASE_IMAGE: ${REGISTRY:-rayference}/eradiate-base
BASE_IMAGE_VERSION: ${VERSION:-dirty}
ERADIATE_KERNEL_VERSION: ${VERSION:-dirty}
NUM_CORES: ${NUM_CORES:-4}
# Contains a properly configured Eradiate kernel
eradiate-kernel:
image: ${REGISTRY:-rayference}/eradiate-kernel:${VERSION:-dirty}
build:
context: docker/eradiate-kernel
args:
BUILDER_IMAGE: ${REGISTRY:-rayference}/eradiate-kernel-builder
BUILDER_IMAGE_VERSION: "${VERSION:-dirty}"
BASE_IMAGE: ${REGISTRY:-rayference}/eradiate-base
BASE_IMAGE_VERSION: "${VERSION:-dirty}"
ERADIATE_KERNEL_VERSION: ${VERSION:-dirty}
# Actual Eradiate image
eradiate:
image: ${REGISTRY:-rayference}/eradiate:${VERSION:-dirty}
build:
context: docker/eradiate
args:
BUILDER_IMAGE: ${REGISTRY:-rayference}/eradiate-kernel-builder
BUILDER_IMAGE_VERSION: "${VERSION:-dirty}"
BASE_IMAGE: ${REGISTRY:-rayference}/eradiate-kernel
BASE_IMAGE_VERSION: ${VERSION:-dirty}
# Jupyterlab server for Eradiate
eradiate-jupyterlab:
image: ${REGISTRY:-rayference}/eradiate-jupyterlab:${VERSION:-dirty}
build:
context: docker/eradiate-jupyterlab
args:
BASE_IMAGE: ${REGISTRY:-rayference}/eradiate
BASE_IMAGE_VERSION: ${VERSION:-dirty}
environment:
PORT: ${JUPYTERLAB_PORT:-8888}
ports:
- ${JUPYTERLAB_PORT:-8888}:${JUPYTERLAB_PORT:-8888}