forked from Docker/baseimage-docker
Added install_clean.sh utility
This commit is contained in:
committed by
Kingdon Barrett
parent
ffc1f6db05
commit
fcc1283c85
10
image/bin/install_clean.sh
Executable file
10
image/bin/install_clean.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Apt installer helper for Docker images
|
||||
|
||||
set -e
|
||||
|
||||
echo "Installing $*"
|
||||
apt-get -q update && apt-get -qy install $* \
|
||||
&& apt-get -qy autoremove \
|
||||
&& apt-get clean \
|
||||
&& rm -r /var/lib/apt/lists/*
|
||||
Reference in New Issue
Block a user