Add avahi/mDNS packages to container base install
This commit is contained in:
parent
7645f01678
commit
d30a5b94ab
|
|
@ -85,8 +85,8 @@ async function createContainer(home: string): Promise<void> {
|
||||||
/** Install base system packages (as root). */
|
/** Install base system packages (as root). */
|
||||||
async function installPackages(cached: boolean): Promise<void> {
|
async function installPackages(cached: boolean): Promise<void> {
|
||||||
const packages = cached
|
const packages = cached
|
||||||
? "curl git fish build-essential"
|
? "curl git fish build-essential avahi-daemon libnss-mdns"
|
||||||
: "curl git fish unzip build-essential"
|
: "curl git fish unzip build-essential avahi-daemon libnss-mdns"
|
||||||
await run(
|
await run(
|
||||||
$`container exec ${CONTAINER_NAME} bash -c ${`apt update && apt install -y ${packages}`}`,
|
$`container exec ${CONTAINER_NAME} bash -c ${`apt update && apt install -y ${packages}`}`,
|
||||||
"Package installation")
|
"Package installation")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user