Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some debian package manager tweaks #1244

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/osdsdock/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MAINTAINER Leon Wang <wanghui71leon@gmail.com>
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 \
Expand Down
2 changes: 1 addition & 1 deletion install/devsds/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
4 changes: 2 additions & 2 deletions install/devsds/lib/lvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down
2 changes: 1 addition & 1 deletion install/opensds-authchecker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down