3 RUN apt-get -qy dist-upgrade
4 RUN apt-get -qy install python python-virtualenv libpam-python rsyslog
5 # Packages required by pycurl, ciso8601
6 RUN apt-get -qy install libcurl4-gnutls-dev python2.7-dev
7 RUN pip install --upgrade setuptools
8 RUN pip install python-pam
12 RUN pip install dist/arvados-pam-*.tar.gz
13 COPY examples/pam-auth-update_arvados /usr/share/pam-configs/arvados
14 RUN DEBIAN_FRONTEND=noninteractive pam-auth-update arvados --remove unix
15 CMD rsyslogd & tail -F /var/log/auth.log & bash