FROM ubuntu:16.10 MAINTAINER LEAP Encryption Access Project COPY files/etc /etc RUN apt-get update \ && apt-get install -y --no-install-recommends \ git \ locales \ sudo \ ca-certificates \ wget # No yakkety dist in bitmask repo yet RUN echo "deb http://deb.bitmask.net/debian xenial main" > /etc/apt/sources.list.d/leap-client-repo.list \ && wget -O- https://dl.bitmask.net/apt.key | apt-key add - RUN apt-get update \ && apt-get -y dist-upgrade \ && apt-get install -y --no-install-recommends leap-archive-keyring \ && apt-get clean && \ rm -rf /var/lib/apt/lists/* RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 ENV LANG en_US.utf8 RUN useradd -ms /bin/bash -G sudo cirunner # allow all members of sudo group to execute any command without password RUN sed -i 's/^%sudo.*/%sudo ALL=(ALL) NOPASSWD:ALL/' /etc/sudoers