Skip to content

Commit

Permalink
Try to make docker imager a bit smaller by removing unnecessary packages
Browse files Browse the repository at this point in the history
  • Loading branch information
wahyd4 committed May 22, 2023
1 parent c3a5fda commit 9011711
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ariang_file=AriaNg-${ariang_version}.zip
groupadd junv \
&& useradd -g junv -m -s /bin/bash junv \
&& apt update \
&& apt install -y runit wget curl openrc gnupg aria2 tar mailcap fuse vim unzip libcap2-bin\
&& apt install -y wget curl aria2 tar unzip libcap2-bin\
&& wget -N https://github.com/caddyserver/caddy/releases/download/v${caddy_version}/${caddy_file} \
&& tar -zxf ${caddy_file} \
&& mv caddy /usr/local/bin/ \
Expand Down Expand Up @@ -68,4 +68,6 @@ groupadd junv \
&& mkdir -p /data && chown junv:junv /data \
&& mkdir -p /data/cloud \
&& chown junv:junv /data/cloud \
&& ln -s /data/cloud /app
&& ln -s /data/cloud /app \
&& apt remove -y unzip\
&& apt clean

0 comments on commit 9011711

Please sign in to comment.