container-images/laughing-octo/xterm/Dockerfile.sh

19 lines
285 B
Bash
Raw Permalink Normal View History

2014-07-08 12:56:15 +00:00
#!/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