diff --git a/cmd/osdsdock/Dockerfile b/cmd/osdsdock/Dockerfile index 2faa033e8..01cf67f4d 100755 --- a/cmd/osdsdock/Dockerfile +++ b/cmd/osdsdock/Dockerfile @@ -9,7 +9,7 @@ MAINTAINER Leon Wang COPY osdsdock /usr/bin # Install some packages before running command. -RUN apt-get update && apt-get install -y \ +RUN apt-get update && apt-get --no-install-recommends install -y \ librados-dev librbd-dev ceph-common lvm2 udev tgt \ && rm -rf /var/lib/apt RUN sed -i -e 's/udev_sync = 1/udev_sync = 0/g' /etc/lvm/lvm.conf \ diff --git a/install/devsds/bootstrap.sh b/install/devsds/bootstrap.sh index 258266713..fe078146a 100755 --- a/install/devsds/bootstrap.sh +++ b/install/devsds/bootstrap.sh @@ -84,7 +84,7 @@ fi # make sure 'make' has been installed. if [[ -z "$(which make)" ]]; then log "Installing make ..." - sudo apt-get install make -y + sudo apt-get --no-install-recommends install make -y fi cd ${OPENSDS_DIR} diff --git a/install/devsds/lib/lvm.sh b/install/devsds/lib/lvm.sh index cde31114a..2ea8276d7 100755 --- a/install/devsds/lib/lvm.sh +++ b/install/devsds/lib/lvm.sh @@ -48,11 +48,11 @@ NVME_DIR=/opt/opensdsNvme LVM_DEVICE=/dev/nvme0n1 osds::lvm::pkg_install(){ - sudo apt-get install -y lvm2 tgt open-iscsi ibverbs-utils + sudo apt-get --no-install-recommends install -y lvm2 tgt open-iscsi ibverbs-utils } osds::nfs::pkg_install(){ - sudo apt-get install -y nfs-kernel-server + sudo apt-get --no-install-recommends install -y nfs-kernel-server } osds::lvm::pkg_uninstall(){ diff --git a/install/opensds-authchecker/Dockerfile b/install/opensds-authchecker/Dockerfile index 84a7f5065..6e2ff9339 100644 --- a/install/opensds-authchecker/Dockerfile +++ b/install/opensds-authchecker/Dockerfile @@ -14,7 +14,7 @@ COPY keystone.sh /keystone.sh COPY entrypoint.sh /entrypoint.sh # Install some packages before running command. -RUN apt-get update && apt-get install -y \ +RUN apt-get update && apt-get --no-install-recommends install -y \ sudo nano git telnet net-tools iptables gnutls-bin ca-certificates && \ mkdir -p /opt/stack/