Skip to content
Snippets Groups Projects

APT-GET in Dockerfile with cleanup

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Frank Sauerburger
    Edited
    Dockerfile 146 B
    RUN apt-get update \
      && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends <packages> \
      && rm -rf /var/lib/apt/lists/*
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment