container-images/laughing-octo/xterm/Dockerfile.sh
Vincent Batts d59b1af998 Add 'laughing-octo/' from commit 'ee815e9ccc120f5d750d8d958c412778e8a77aa0'
git-subtree-dir: laughing-octo
git-subtree-mainline: 264531c268
git-subtree-split: ee815e9ccc
2024-03-27 15:58:12 -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