2013-12-13 19:23:08 +00:00
|
|
|
FROM FROM_IMAGE
|
|
|
|
|
2015-12-14 17:10:55 +00:00
|
|
|
RUN groupadd -g 990 docker && \
|
|
|
|
groupadd -g DEV_GID DEV_USER && \
|
|
|
|
dnf erase -y vim-minimal && \
|
|
|
|
dnf groupinstall -y "development tools" && \
|
|
|
|
dnf install -y --setopt=override_install_langs=en --setopt=tsflags=nodocs \
|
|
|
|
dnf-plugins-core \
|
|
|
|
git \
|
|
|
|
golang \
|
|
|
|
mercurial \
|
2016-02-15 18:33:06 +00:00
|
|
|
iputils \
|
2015-12-14 17:10:55 +00:00
|
|
|
bzr \
|
|
|
|
vim-enhanced \
|
|
|
|
quilt \
|
|
|
|
fedora-packager \
|
|
|
|
sudo \
|
|
|
|
screen \
|
|
|
|
libtool \
|
|
|
|
gtk-doc \
|
|
|
|
intltool \
|
|
|
|
libgcrypt-devel \
|
|
|
|
/usr/bin/ps \
|
|
|
|
gpg \
|
|
|
|
/usr/bin/mvn \
|
|
|
|
gperf \
|
|
|
|
libcap-devel \
|
|
|
|
wget \
|
|
|
|
tig \
|
|
|
|
glibc-static \
|
|
|
|
device-mapper-devel \
|
|
|
|
btrfs-progs-devel \
|
|
|
|
libmount-devel \
|
|
|
|
sqlite-devel \
|
|
|
|
glib2-devel \
|
|
|
|
irb \
|
|
|
|
libmount-devel \
|
|
|
|
dbus-devel \
|
|
|
|
keychain \
|
|
|
|
tito && \
|
2015-06-11 14:49:40 +00:00
|
|
|
dnf update -y && \
|
2015-12-14 17:10:55 +00:00
|
|
|
dnf clean all && \
|
|
|
|
useradd -m -u DEV_UID -g DEV_GID -G wheel,mock,docker DEV_USER && \
|
2013-12-13 19:23:08 +00:00
|
|
|
sed -ri 's/^(%wheel.*)(ALL)$/\1NOPASSWD: \2/' /etc/sudoers
|
|
|
|
USER DEV_USER
|
|
|
|
ENV HOME /home/DEV_USER
|
|
|
|
WORKDIR /home/DEV_USER
|
|
|
|
CMD bash -l
|