Vincent Batts
d59b1af998
git-subtree-dir: laughing-octo git-subtree-mainline:264531c268
git-subtree-split:ee815e9ccc
18 lines
285 B
Bash
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
|
|
|