|
2 | 2 |
|
3 | 3 | buildInfo = getBuildInfo() |
4 | 4 |
|
5 | | -def nativeImage = buildSimpleDocker_v2( |
6 | | - buildInfo: buildInfo, |
7 | | - dockerfileDir: 'offchain-computing', |
8 | | - dockerImageRepositoryName: 'offchain-python-hello-world', |
9 | | - imageprivacy: 'public' |
| 5 | +baseDir = 'offchain-computing' |
| 6 | +def nativeImage = buildSimpleDocker_v3( |
| 7 | + buildInfo: buildInfo, |
| 8 | + dockerfileDir: baseDir, |
| 9 | + buildContext: baseDir, |
| 10 | + dockerImageRepositoryName: 'offchain-python-hello-world', |
| 11 | + visibility: 'docker.io' |
| 12 | +) |
| 13 | + |
| 14 | +buildSimpleDocker_v3( |
| 15 | + buildInfo: buildInfo, |
| 16 | + dockerfileDir: baseDir + '/gramine', |
| 17 | + buildContext: baseDir, |
| 18 | + dockerImageRepositoryName: 'tee-gramine-offchain-python-hello-world', |
| 19 | + visibility: 'iex.ec' |
10 | 20 | ) |
11 | 21 |
|
12 | 22 | sconeBuildUnlocked( |
13 | | - nativeImage: nativeImage, |
14 | | - imageName: 'offchain-python-hello-world', |
15 | | - imageTag: buildInfo.imageTag, |
16 | | - sconifyArgsPath: 'offchain-computing/sconify.args', |
17 | | - sconifyVersion: '5.7.1' |
| 23 | + nativeImage: nativeImage, |
| 24 | + imageName: 'offchain-python-hello-world', |
| 25 | + imageTag: buildInfo.imageTag, |
| 26 | + sconifyArgsPath: baseDir + '/sconify.args', |
| 27 | + sconifyVersion: '5.7.1' |
18 | 28 | ) |
0 commit comments