Hello,
I need to use the command “git clone” in a container but I can’t do it because the container says:
bash: git: command not found
I need to use the command for add a module in the icinga container…
I looked in the Dockerfile and I saw this:
#First apt-get batch
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gcc \
gnupg2 \
graphviz \
logrotate \
mysql-client \
net-tools \
ntp \
php5-cli \
php5-gd \
php5-intl \
php5-imagick \
php5-curl \
php5-ldap \
php5-mysql \
php5-sqlite \
procps \
python \
python-dev \
pwgen \
rsync \
snmp \
libsnmp-base \
tcpdump \
sudo \
supervisor \
unzip \
wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
So I think that these are the only command available…how can I enable the “git” command? is enough to add “git” to the list I have reposted above?
Thank You
Giulia