APT Configuration - Linux

/etc/apt/apt.conf.d/docker-gzip-indexes

Quick Actions

๐Ÿ“ฅ Download Original docker-gzip-indexes

Configuration File Information

Configuration File Content

/etc/apt/apt.conf.d/docker-gzip-indexes
11 lines
# Since Docker users using "RUN apt-get update && apt-get install -y ..." in
# their Dockerfiles don't go delete the lists files afterwards, we want them to
# be as small as possible on-disk, so we explicitly request that Apt keep them
# compressed on-disk too instead of decompressing them.

# For comparison, an "apt-get update" layer without this on a pristine
# "debian:wheezy" base image was "29.88 MB", where with this it was only
# "8.273 MB".

Acquire::GzipIndexes "true";

        

Download Commands

docker-gzip-indexes โ€ข

Download the 100% original unaltered configuration file pulled from APT

Using wget:

wget -O docker-gzip-indexes.example https://exampleconfig.com/api/v1/config/original/2b32d08be3b653925c80f5ded1175ab8?hint=docker-gzip-indexes

Using curl:

curl https://exampleconfig.com/api/v1/config/original/2b32d08be3b653925c80f5ded1175ab8?hint=docker-gzip-indexes > docker-gzip-indexes.example

Related Configuration Files

Technical Details

File Location
/etc/apt/apt.conf.d/docker-gzip-indexes
Platform
Linux
File Size
11 lines
Application
APT
Compatible Versions
MD5 Checksum
2b32d08be3b653925c80f5ded1175ab8
SHA256 Checksum
9da4604fbac169caa47e787b4d85c8e06c887603878afa2a61f39fd551a41359