mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
reducing container size
This commit is contained in:
parent
f05e86e5ac
commit
d588347ebc
@ -7,7 +7,7 @@ EXPOSE 7000
|
|||||||
ENV TZ=America/Los_Angeles
|
ENV TZ=America/Los_Angeles
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
||||||
RUN apt-get -y install curl net-tools jq netcat unzip wget git vim fail2ban imagemagick-6.q16 ffmpeg build-essential sqlite3 npm
|
RUN apt-get -y install curl net-tools jq netcat unzip wget git vim fail2ban imagemagick-6.q16 ffmpeg build-essential sqlite3 npm
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ RUN npm uninstall -g n
|
|||||||
RUN rm -rf /usr/local/n
|
RUN rm -rf /usr/local/n
|
||||||
RUN rm -rf /usr/local/bin/node
|
RUN rm -rf /usr/local/bin/node
|
||||||
|
|
||||||
RUN apt-get -y remove git build-essential npm vim nodejs
|
RUN apt-get -y remove git build-essential npm vim nodejs linux-libc-dev
|
||||||
RUN rm -rf /var/lib/apt/lists
|
RUN rm -rf /var/lib/apt/lists
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
Loading…
Reference in New Issue
Block a user