Save space by using a dpkg config to avoid installing unnecessary docs/locales.

This commit is contained in:
Pagan Gazzard
2015-02-20 13:34:59 +00:00
committed by Pablo Carranza Vélez
parent e28eff6eeb
commit 701467ee46
4 changed files with 15 additions and 0 deletions

9
01_nodoc Normal file
View File

@ -0,0 +1,9 @@
path-exclude /usr/share/doc/*
path-exclude /usr/share/man/*
path-exclude /usr/share/groff/*
path-exclude /usr/share/info/*
path-exclude /usr/share/lintian/*
path-exclude /usr/share/linda/*
path-exclude /usr/share/locale/*
path-include /usr/share/locale/en*

View File

@ -1,5 +1,7 @@
FROM resin/i386-debian:jessie
COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/
# Nodejs
RUN apt-get update \
&& apt-get install -y curl git unzip wget npm nodejs inetutils-ping --no-install-recommends \

View File

@ -1,5 +1,7 @@
FROM resin/rpi-node:0.10.36-slim
COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/
# Supervisor apt dependencies
RUN apt-get -q update \
&& apt-get install -qqy socat supervisor --no-install-recommends \

View File

@ -1,5 +1,7 @@
FROM node:0.10.36-slim
COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/
# Supervisor apt dependencies
RUN apt-get -q update \
&& apt-get install -qqy socat supervisor --no-install-recommends \