Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

Configure apt sandbox user in Eve image (#22)

JJ Kasper8a52376ec94b
diff --git a/Dockerfile b/Dockerfile
index bc558c209..4c99ebec1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,6 +16,7 @@ ENV LC_ALL=C.UTF-8
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN set -eux; \
+ printf 'APT::Sandbox::User "root";\n' >/etc/apt/apt.conf.d/99eve-sandbox-user; \
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates \