aboutsummaryrefslogtreecommitdiff
path: root/bwrap-files/chroot-initialise.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bwrap-files/chroot-initialise.sh')
-rwxr-xr-xbwrap-files/chroot-initialise.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bwrap-files/chroot-initialise.sh b/bwrap-files/chroot-initialise.sh
new file mode 100755
index 0000000..972bf75
--- /dev/null
+++ b/bwrap-files/chroot-initialise.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+sed -i '/^_apt:/d' /etc/passwd # See https://github.com/containers/bubblewrap/issues/210
+apt update && apt install -y build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 locales
+PATH="$PATH:/usr/sbin" dpkg-reconfigure locales