container-images/xterm/Dockerfile.sh
2014-07-08 08:56:15 -04:00

18 lines
285 B
Bash

#!/bin/sh
cat <<EOM
FROM fedora:latest
RUN yum install -y xterm
#RUN yum update -y && yum clean all
RUN useradd -m -u $(id -u ${USER}) -G wheel ${USER} && \
sed -ri 's/^(%wheel.*)(ALL)$/\1NOPASSWD: \2/' /etc/sudoers
CMD bash -l
USER ${USER}
ENV HOME ${HOME}
WORKDIR ${HOME}
EOM