Skip to content

Commit

Permalink
only install dev deps in container
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <[email protected]>
  • Loading branch information
BeryJu committed Jan 25, 2025
1 parent ebfde4c commit df8adf9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lifecycle/ak
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ function cleanup {
}

function prepare_debug {
# Only attempt to install debug dependencies if we're running in a container
if [ ! -d /ak-root ]; then
return
fi
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y --no-install-recommends krb5-kdc krb5-user krb5-admin-server libkrb5-dev gcc
Expand Down

0 comments on commit df8adf9

Please sign in to comment.