Skip to content

Commit

Permalink
Change: Adjust comments
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann committed Nov 7, 2024
1 parent b48425c commit 51e2bc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions operating_systems/slackware/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ FROM ${BASEIMAGE}:${TAG}
ARG UPDATED=true

RUN slackpkg update \
# When updating, we need to upgrade slackpkg itself first. Otherwise upgrade-all will abort
# We can skip this steps, if slackpkg or all packages are already up-to-date
# When updating, we need to upgrade slackpkg itself first. Otherwise upgrade-all will abort.
# We can skip this steps, if slackpkg or all packages are already up-to-date.
# slackpkg upgrade also needs to be called twice, because some packages might fail in the first run, which work in the second.
&& if [ "$UPDATED" = true ]; then slackpkg upgrade slackpkg && slackpkg upgrade-all || true && slackpkg upgrade-all; fi \
&& slackpkg install openssh \
&& rm -rf /var/lib/slackpkg/* \
Expand Down

0 comments on commit 51e2bc8

Please sign in to comment.