Skip to content

Commit

Permalink
improve some lando4 service things part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed May 25, 2024
1 parent 6aac8d3 commit 2617a7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion builders/lando-v4.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ module.exports = {
this.addComposeData({volumes: {[this.homevol]: {external: true}}});
// add the usual DC stuff
this.addServiceData({user: config.user ?? this.username, volumes: [`${this.homevol}:/home/${this.username}`]});
// add build vols
this.addAppBuildVolume(`${this.homevol}:/home/${this.username}`);
}

addAppBuildVolume(volumes) {
Expand Down Expand Up @@ -187,7 +189,7 @@ module.exports = {
const command = `chmod +x ${bs} && sh ${bs}`;

// add build vols
this.addAppBuildVolume([`${buildScriptPath}:${bs}`, `${this.homevol}:/home/${this.username}`]);
this.addAppBuildVolume(`${buildScriptPath}:${bs}`);

// run with the appropriate builder
const success = await bengine.run([command], {
Expand Down

0 comments on commit 2617a7a

Please sign in to comment.