Skip to content

Commit 95a8151

Browse files
authored
Merge pull request #13360 from jonjohnsonjr/package-append
Automatically package-append apk-tools to debug
2 parents 92102fd + 5acc2f5 commit 95a8151

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ MELANGE_OPTS += ${MELANGE_EXTRA_OPTS}
2323

2424
# Enter interactive mode on failure for debug
2525
MELANGE_DEBUG_OPTS += --interactive
26+
MELANGE_DEBUG_OPTS += --package-append apk-tools
2627
MELANGE_DEBUG_OPTS += ${MELANGE_OPTS}
2728

2829
# These are separate from MELANGE_OPTS because for building we need additional
@@ -184,7 +185,7 @@ dev-container:
184185
-v "${PWD}:${PWD}" \
185186
-w "${PWD}" \
186187
-e SOURCE_DATE_EPOCH=0 \
187-
ghcr.io/wolfi-dev/sdk:latest@sha256:110c4bc0a8941606034ee7af12f1197b4a6b6f6434fd4b4bbf61de501e18ffd1
188+
ghcr.io/wolfi-dev/sdk:latest@sha256:fad3eed9b19dc66976a553f29d1eccde3f32873e795aa1625b915947a3063e0e
188189

189190
PACKAGES_CONTAINER_FOLDER ?= /work/packages
190191
TMP_REPOSITORIES_DIR := $(shell mktemp -d)
@@ -249,6 +250,6 @@ dev-container-wolfi:
249250
--mount type=bind,source="${PWD}/local-melange.rsa.pub",destination="/etc/apk/keys/local-melange.rsa.pub",readonly \
250251
--mount type=bind,source="$(TMP_REPOSITORIES_FILE)",destination="/etc/apk/repositories",readonly \
251252
-w "$(PACKAGES_CONTAINER_FOLDER)" \
252-
ghcr.io/wolfi-dev/sdk:latest@sha256:110c4bc0a8941606034ee7af12f1197b4a6b6f6434fd4b4bbf61de501e18ffd1
253+
ghcr.io/wolfi-dev/sdk:latest@sha256:fad3eed9b19dc66976a553f29d1eccde3f32873e795aa1625b915947a3063e0e
253254
@rm "$(TMP_REPOSITORIES_FILE)"
254255
@rmdir "$(TMP_REPOSITORIES_DIR)"

0 commit comments

Comments
 (0)