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