mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-24 02:04:14 +00:00
Save space by using a dpkg config to avoid installing unnecessary docs/locales.
This commit is contained in:
committed by
Pablo Carranza Vélez
parent
e28eff6eeb
commit
701467ee46
9
01_nodoc
Normal file
9
01_nodoc
Normal 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*
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Reference in New Issue
Block a user