Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

Commit 4a8de92

Browse files
committed
no-install-recommends, remove wget.
1 parent aae4df1 commit 4a8de92

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ ARG DEBIAN_FRONTEND="noninteractive"
1616
RUN \
1717
echo "**** install packages ****" && \
1818
apt-get update && \
19-
apt-get install -y \
19+
apt-get install -y --no-install-recommends \
2020
binutils \
2121
jsvc \
2222
libcap2 \
2323
logrotate \
24-
openjdk-11-jre-headless \
25-
wget && \
24+
openjdk-11-jre-headless && \
2625
echo "**** install unifi ****" && \
2726
if [ -z ${UNIFI_VERSION+x} ]; then \
2827
UNIFI_VERSION=$(curl -sX GET http://dl-origin.ubnt.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \

Dockerfile.aarch64

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ ARG DEBIAN_FRONTEND="noninteractive"
1616
RUN \
1717
echo "**** install packages ****" && \
1818
apt-get update && \
19-
apt-get install -y \
19+
apt-get install -y --no-install-recommends \
2020
binutils \
2121
jsvc \
2222
libcap2 \
2323
logrotate \
24-
openjdk-11-jre-headless \
25-
wget && \
24+
openjdk-11-jre-headless && \
2625
echo "**** install unifi ****" && \
2726
if [ -z ${UNIFI_VERSION+x} ]; then \
2827
UNIFI_VERSION=$(curl -sX GET http://dl-origin.ubnt.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
308308

309309
## Versions
310310

311+
* **04.05.23:** - Cleanup `apt-get install` during build to reduce image size.
311312
* **18.03.23:** - Add mongoless branch.
312313
* **20.02.23:** - Migrate to s6v3, install deb package on build, fix permissions.
313314
* **23.01.23:** - Exclude `run` from `/config` volume.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ app_setup_block: |
8989
9090
# changelog
9191
changelogs:
92+
- { date: "04.05.23:", desc: "Cleanup `apt-get install` during build to reduce image size."}
9293
- { date: "18.03.23:", desc: "Add mongoless branch."}
9394
- { date: "20.02.23:", desc: "Migrate to s6v3, install deb package on build, fix permissions."}
9495
- { date: "23.01.23:", desc: "Exclude `run` from `/config` volume."}

0 commit comments

Comments
 (0)