mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-25 20:07:55 +00:00
You can user `ENV` directive in Dockerfile to disable the installation for some services or change `image/buildconfig`. The flags are : DISABLE_SSHD DISABLE_CRON DISABLE_SYSLOG
10 lines
305 B
Plaintext
10 lines
305 B
Plaintext
export LC_ALL=C
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
minimal_apt_get_install='apt-get install -y --no-install-recommends'
|
|
|
|
# Default services
|
|
# Set 1 to the service you want to disable
|
|
export DISABLE_SYSLOG=${DISABLE_SYSLOG:-0}
|
|
export DISABLE_SSH=${DISABLE_SSH:-0}
|
|
export DISABLE_CRON=${DISABLE_CRON:-0}
|