If you do this in a Dockerfile, you’ll get a warning:
RUN apt install -y git
Warning:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Do this instead:
RUN apt-get install -y git
If you do this in a Dockerfile, you’ll get a warning:
RUN apt install -y git
Warning:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Do this instead:
RUN apt-get install -y git