diff options
| author | mo khan <mo.khan@gmail.com> | 2019-12-17 17:04:25 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-01-24 10:55:39 -0700 |
| commit | 2ff2fb114e87ac65d744fcc1285a55af7f40beda (patch) | |
| tree | 097a8dc8419dfb0a23ca5210910b77059c8e1df0 /config | |
| parent | a21dfa78416544d56b41dc8a5529a8a41791dd34 (diff) | |
Cleanup redundant code and shrink image
Diffstat (limited to 'config')
| -rw-r--r-- | config/01_nodoc | 11 | ||||
| -rw-r--r-- | config/02nocache | 2 | ||||
| -rw-r--r-- | config/default-gems | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/config/01_nodoc b/config/01_nodoc new file mode 100644 index 0000000..6350de8 --- /dev/null +++ b/config/01_nodoc @@ -0,0 +1,11 @@ +# /etc/dpkg/dpkg.cfg.d/01_nodoc + +# Delete locales +path-exclude=/usr/share/locale/* + +# Delete man pages +path-exclude=/usr/share/man/* + +# Delete docs +path-exclude=/usr/share/doc/* +path-include=/usr/share/doc/*/copyright diff --git a/config/02nocache b/config/02nocache new file mode 100644 index 0000000..6add3a9 --- /dev/null +++ b/config/02nocache @@ -0,0 +1,2 @@ +Dir::Cache ""; +Dir::Cache::archives ""; diff --git a/config/default-gems b/config/default-gems index f832f6e..f300d11 100644 --- a/config/default-gems +++ b/config/default-gems @@ -1,2 +1,3 @@ bundler ~>1.7 bundler ~>2.0 +/opt/license-management/*.gem |
