Skip to content

Commit

Permalink
images: ubuntu: 24.04: Fix missing unminimize script
Browse files Browse the repository at this point in the history
`unminimize` has been moved to a dedicated package:
https://discourse.ubuntu.com/t/oracular-oriole-release-notes/44878#unminimize-33

Fixes: #1566
Signed-off-by: Tom Reinders <t.reinders@recognize.nl>
  • Loading branch information
tom-reinders authored and Jmennius committed Oct 21, 2024
1 parent 67c487e commit 3496110
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions images/ubuntu/24.04/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ 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 && \
DEBIAN_FRONTEND=noninteractive apt-get -y install unminimize && \
sed -Ei '/apt-get (update|upgrade)/s/^/#/' /usr/bin/unminimize && \
yes | /usr/bin/unminimize && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
ubuntu-minimal ubuntu-standard \
libnss-myhostname \
Expand Down

0 comments on commit 3496110

Please sign in to comment.