Skip to content

Commit

Permalink
dbld: add SHELL_COMMAND variable
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Szakacs <[email protected]>
  • Loading branch information
alltilla committed Sep 18, 2024
1 parent 355519e commit f7917df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbld/rules
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ GIT_RELEASE_TAG=axosyslog-$(VERSION)
CONFIGURE_OPTS=--enable-debug --enable-manpages --with-python=3 --prefix=/install $(CONFIGURE_ADD)
DBLD_RULES=$(MAKE) --no-print-directory -f $(DBLD_DIR)/rules

DOCKER_SHELL=$(DOCKER) run $(DOCKER_RUN_ARGS) --rm -ti ${CONTAINER_REGISTRY}/axosyslog-dbld-$* /dbld/shell
DOCKER_SHELL=$(DOCKER) run $(DOCKER_RUN_ARGS) --rm -ti ${CONTAINER_REGISTRY}/axosyslog-dbld-$* /dbld/shell $(if $(SHELL_COMMAND),"$(SHELL_COMMAND)",bash)

-include $(if $(RULES_CONF),$(RULES_CONF),$(DBLD_DIR)/rules.conf)

Expand Down
2 changes: 1 addition & 1 deletion dbld/shell
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ if [ "$IMAGE_PLATFORM" != "devshell" ]; then
echo -e "NOTE: the 'devshell' dbld image is more developer friendly, you might want to use that"
fi
cd /source
debian_chroot="dbld" HOME=/build exec bash
debian_chroot="dbld" HOME=/build exec bash -c "$*"

0 comments on commit f7917df

Please sign in to comment.