Files
docker-deployment/build/config

28 lines
485 B
Plaintext

export LC_ALL=C
export DEBIAN_FRONTEND=noninteractive
apt_install='apt-get install -y --no-install-recommends'
apt_install_permanent() {
echo $@ >> /build/permanent
$apt_install "$@"
}
apt_install_temporary() {
echo $@ >> /build/temporary
$apt_install "$@"
}
apt_remove() {
apt-get autoremove -y --purge "$@"
}
export_env() {
export $1="$2"
echo -n $2 > /etc/container_environment/$1
}
import_env() {
export $1=`cat /etc/container_environment/$1`
}