Skip to content

Commit

Permalink
Fixes #1566
Browse files Browse the repository at this point in the history
/usr/local/sbin/unminimize has been remove and has been replaced with unminimize in apt

docker-library/official-images#17708 (comment)
https://discourse.ubuntu.com/t/oracular-oriole-release-notes/44878#unminimize-33
Signed-off-by: Tom Reinders <[email protected]>
  • Loading branch information
tom-reinders committed Oct 17, 2024
1 parent ed14cd4 commit d3b5dbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/toolbox
.idea
6 changes: 3 additions & 3 deletions images/ubuntu/24.04/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ RUN sed -Ei 's/^(hosts:.*)(\<files\>)\s*(.*)/\1\2 myhostname \3/' /etc/nsswitch.
# Install ubuntu-minimal & ubuntu-standard
# Install extra packages as well as libnss-myhostname
COPY extra-packages /
RUN sed -Ei '/apt-get (update|upgrade)/s/^/#/' /usr/local/sbin/unminimize && \
apt-get update && \
yes | /usr/local/sbin/unminimize && \
RUN apt-get update && \
apt-get install -y unminimize && \
yes | unminimize && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
ubuntu-minimal ubuntu-standard \
libnss-myhostname \
Expand Down

0 comments on commit d3b5dbd

Please sign in to comment.