fedora-dev: flatten and add moar deps

This commit is contained in:
Vincent Batts 2015-12-14 12:10:55 -05:00
parent cd5e27f533
commit cab40708b9

View file

@ -1,9 +1,10 @@
FROM FROM_IMAGE FROM FROM_IMAGE
RUN dnf erase -y vim-minimal RUN groupadd -g 990 docker && \
RUN groupadd -g 990 docker groupadd -g DEV_GID DEV_USER && \
RUN dnf groupinstall -y "development tools" dnf erase -y vim-minimal && \
RUN dnf install -y --setopt=override_install_langs=en --setopt=tsflags=nodocs \ dnf groupinstall -y "development tools" && \
dnf install -y --setopt=override_install_langs=en --setopt=tsflags=nodocs \
dnf-plugins-core \ dnf-plugins-core \
git \ git \
golang \ golang \
@ -18,6 +19,9 @@ RUN dnf install -y --setopt=override_install_langs=en --setopt=tsflags=nodocs \
gtk-doc \ gtk-doc \
intltool \ intltool \
libgcrypt-devel \ libgcrypt-devel \
/usr/bin/ps \
gpg \
/usr/bin/mvn \
gperf \ gperf \
libcap-devel \ libcap-devel \
wget \ wget \
@ -25,16 +29,17 @@ RUN dnf install -y --setopt=override_install_langs=en --setopt=tsflags=nodocs \
glibc-static \ glibc-static \
device-mapper-devel \ device-mapper-devel \
btrfs-progs-devel \ btrfs-progs-devel \
libmount-devel \
sqlite-devel \ sqlite-devel \
glib2-devel \ glib2-devel \
irb \
libmount-devel \ libmount-devel \
dbus-devel \ dbus-devel \
keychain \ keychain \
tito && \ tito && \
dnf update -y && \ dnf update -y && \
dnf clean all dnf clean all && \
RUN groupadd -g DEV_GID DEV_USER && \ useradd -m -u DEV_UID -g DEV_GID -G wheel,mock,docker DEV_USER && \
useradd -m -u DEV_UID -g DEV_GID -G wheel,mock DEV_USER && \
sed -ri 's/^(%wheel.*)(ALL)$/\1NOPASSWD: \2/' /etc/sudoers sed -ri 's/^(%wheel.*)(ALL)$/\1NOPASSWD: \2/' /etc/sudoers
USER DEV_USER USER DEV_USER
ENV HOME /home/DEV_USER ENV HOME /home/DEV_USER