@leverege/build-tools 2.85.0-beta.8 → 2.85.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Docker.mjs +6 -1
- package/src/docker-to-registry.mjs +0 -1
package/package.json
CHANGED
package/src/Docker.mjs
CHANGED
|
@@ -208,7 +208,12 @@ const buildContainerImage = async ( repoDescr ) => {
|
|
|
208
208
|
fs.renameSync( './workspace', buildWorkspace )
|
|
209
209
|
fs.cpSync( './docker/Dockerfile', './build/Dockerfile' )
|
|
210
210
|
fs.cpSync( './build/Dockerfile', `${buildWorkspace}/Dockerfile` )
|
|
211
|
-
|
|
211
|
+
|
|
212
|
+
// bashrc won't exist if we're opting out of dockerfile generation
|
|
213
|
+
if ( fs.existsSync( './docker/bashrc' ) ) {
|
|
214
|
+
fs.renameSync( './docker/bashrc', './build/bashrc' )
|
|
215
|
+
}
|
|
216
|
+
|
|
212
217
|
if ( isNodeJsProject ) {
|
|
213
218
|
fs.cpSync( `${process.env.HOME}/.npmrc`, './build/.npmrc' )
|
|
214
219
|
fs.cpSync( './package.json', `${buildWorkspace}/package.json` )
|
|
@@ -258,7 +258,6 @@ if ( isNodeJsProject ) {
|
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
if ( isPythonProject ) {
|
|
261
|
-
log( `dockerInfo => ${JSON.stringify( dockerInfo, null, 2 )}` )
|
|
262
261
|
log( `
|
|
263
262
|
${chalk.green.bold( 'Python Docker Information:' )}
|
|
264
263
|
BaseImage: ${chalk.green.bold( dockerInfo.imageBase || `node:${dockerInfo.nodeimage}` )}
|