diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile index 09e1dbabb5..83fcaa7974 100644 --- a/tests/docker/Dockerfile +++ b/tests/docker/Dockerfile @@ -10,9 +10,12 @@ ENV DEBIAN_FRONTEND noninteractive ### Installing packages RUN sed -ie 's/^# *deb-src/deb-src/' /etc/apt/sources.list # Enable source repos RUN apt-get update && \ - apt-get install -y software-properties-common gosu && \ + apt-get install -y software-properties-common gosu sudo && \ chmod u+s /usr/sbin/gosu +RUN echo "build ALL =(ALL: ALL) NOPASSWD: ALL" > /etc/sudoers.d/navbuild + + RUN add-apt-repository ppa:deadsnakes/ppa && \ apt-get update && \ apt-get -y install --no-install-recommends \