Skip to content

Commit 8a30af6

Browse files
committed
Remove install of dnsutils, procps, and vim
1 parent 8d4066b commit 8a30af6

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
Note that the `next` tag is mutable and is rebuilt regularly with any updates to this project and
3+
Note that the `next` tag is mutable and is rebuilt regularly with any updates to this project and
44
on a weekly schedule (to pick up ongoing updates to the official `nginx:latest` source image).
55

66
Versioned builds are immutable and have locked in a given set of defaults from this project as well
@@ -9,6 +9,9 @@ as the latest nginx version at the time of the build (recorded in the log entrie
99
## next - under development
1010

1111
* nginx `latest` (version dependent on build time)
12+
* Remove install of dnsutils, procps, and vim. These packages increased the size of the image and can introduce security
13+
vulnerabilities, and it is unclear if they were ever useful in an interactive shell session. Please let XH know if you
14+
were relying on these for any purpose.
1215

1316
## v2.2.0 / latest - 2023-05-23
1417

Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ ENV XH_NGINX_CONFIG_INCL_PATH=/etc/nginx/includes
1717
# Path to host the static JS/CSS/HTML content itself, copied from the client-side build.
1818
ENV XH_NGINX_CONTENT_PATH=/usr/share/nginx/html
1919

20-
# Install some useful basic utilities
21-
RUN apt-get update && apt-get install -y \
22-
dnsutils \
23-
procps \
24-
vim \
25-
&& rm -rf /var/lib/apt/lists/*
26-
2720
# Clear out default nginx config and welcome page
2821
RUN rm $XH_NGINX_CONFIG_PATH/default.conf && rm $XH_NGINX_CONTENT_PATH/*
2922

0 commit comments

Comments
 (0)