Skip to content

Commit

Permalink
reducing container size
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandosborne committed Apr 5, 2024
1 parent f05e86e commit d588347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ EXPOSE 7000
ENV TZ=America/Los_Angeles
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

Expand Down Expand Up @@ -57,7 +57,7 @@ RUN npm uninstall -g n
RUN rm -rf /usr/local/n
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

FROM scratch
Expand Down

0 comments on commit d588347

Please sign in to comment.