explicitly install unzip in all docker images (#10891)

This commit is contained in:
Omar Padron 2019-03-25 21:10:42 -04:00 committed by Peter Scheibel
parent 17da285cfb
commit 57523c3f0b

View File

@ -31,6 +31,7 @@ RUN pacman -Syu --noconfirm \
gcc-fortran git gnupg2 inetutils \ gcc-fortran git gnupg2 inetutils \
iproute2 make openssh procps-ng \ iproute2 make openssh procps-ng \
python python-pip sudo tcl \ python python-pip sudo tcl \
unzip \
&& echo 'nobody ALL=(ALL) NOPASSWD: ALL' > \ && echo 'nobody ALL=(ALL) NOPASSWD: ALL' > \
/etc/sudoers.d/nobody-sudo \ /etc/sudoers.d/nobody-sudo \
&& sudo -u nobody git clone \ && sudo -u nobody git clone \
@ -69,10 +70,11 @@ RUN yum install -y epel-release \
&& yum update -y \ && yum update -y \
&& yum --enablerepo epel groupinstall -y "Development Tools" \ && yum --enablerepo epel groupinstall -y "Development Tools" \
&& yum --enablerepo epel install -y \ && yum --enablerepo epel install -y \
curl findutils gcc-c++ gcc \ curl findutils gcc-c++ gcc \
gcc-gfortran git gnupg2 hostname \ gcc-gfortran git gnupg2 hostname \
iproute Lmod make patch \ iproute Lmod make patch \
openssh-server python python-pip tcl \ openssh-server python python-pip tcl \
unzip \
&& rm -rf /var/cache/yum \ && rm -rf /var/cache/yum \
&& yum clean all && yum clean all
@ -84,7 +86,7 @@ RUN dnf update -y \
curl findutils gcc-c++ gcc \ curl findutils gcc-c++ gcc \
gcc-gfortran git gnupg2 hostname \ gcc-gfortran git gnupg2 hostname \
iproute Lmod make patch \ iproute Lmod make patch \
openssh-server python tcl \ openssh-server python tcl unzip \
&& dnf clean all && dnf clean all
MASK [[ $DISTRO == opensuse ]] MASK [[ $DISTRO == opensuse ]]
@ -98,7 +100,7 @@ RUN zypper -n ref \
gcc-fortran git glibc-locale gpg2 \ gcc-fortran git glibc-locale gpg2 \
hostname iproute lua-lmod make \ hostname iproute lua-lmod make \
patch openssh python python-pip \ patch openssh python python-pip \
python-xml tcl \ python-xml tcl unzip \
&& zypper clean \ && zypper clean \
&& rm -rf /var/cache/zypp/* && rm -rf /var/cache/zypp/*
@ -108,7 +110,8 @@ RUN apt-get -yqq update \
build-essential ca-certificates curl g++ \ build-essential ca-certificates curl g++ \
gcc gfortran git gnupg2 \ gcc gfortran git gnupg2 \
iproute2 lmod lua-posix make \ iproute2 lmod lua-posix make \
openssh-server python python-pip tcl openssh-server python python-pip tcl \
unzip
MASK PUSH MASK PUSH
MASK [[ $DISTRO_VERSION == 18.04 ]] MASK [[ $DISTRO_VERSION == 18.04 ]]