Skip to content

Commit

Permalink
Fix missing sed
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Reinders <t.reinders@recognize.nl>
  • Loading branch information
tom-reinders committed Oct 17, 2024
1 parent 180b56c commit ad57253
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions images/ubuntu/24.04/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ RUN sed -Ei 's/^(hosts:.*)(\<files\>)\s*(.*)/\1\2 myhostname \3/' /etc/nsswitch.
# Install extra packages as well as libnss-myhostname
COPY extra-packages /
RUN apt-get update && \
apt-get install -y unminimize && \
yes | unminimize && \
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 ad57253

Please sign in to comment.