Skip to content

Commit

Permalink
feat: apt command
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Mar 26, 2024
1 parent 5809892 commit 7931aaa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/commands/apt/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ export default class extends Command {
if ( !res.ok ) return res;
}
else {

// XXX
for ( const codename of codenames ) {
const res = this.spawnSync(
"docker",
Expand All @@ -71,8 +69,9 @@ export default class extends Command {
"-i",
"--shm-size=1g",
`-v=${ this.root }:/var/local`,
`-v=${ this.resources + "/build.sh" }:/tmp`,
`--workdir=/var/local`,
`--entrypoint=/var/local/resources/build.sh`,
`--entrypoint=/tmp/build.sh`,
`ghcr.io/${ this.repositoryId }:${ codename }`,
pkg,
],
Expand Down

0 comments on commit 7931aaa

Please sign in to comment.