Skip to content

Commit 763d081

Browse files
chore (make): add bash target to bash into running CKAN container
1 parent 657bb0c commit 763d081

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,11 @@ down:
4646
.PHONY: destroy
4747
destroy:
4848
$(show-current-target)
49-
$(compose) down --volumes --remove-orphans
49+
$(compose) down --volumes --remove-orphans
50+
51+
# ======== Develop ========
52+
53+
.PHONY: bash
54+
bash:
55+
$(show-current-target)
56+
$(compose) exec ckan bash

README-source.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ A Makefile is provided to streamline the management of Docker Compose commands.
5959
* `make down`: Stops and removes all containers, networks, and volumes (keeping data).
6060
* `make show-logs`: Shows logs from all services in real-time.
6161
* `make destroy`: Completely tears down the environment, removing all associated volumes (including persistent data).
62+
* `make bash`: Bash into the running CKAN container.
6263

6364
=== Patches and Customizations
6465
The `ckan/` context includes support for applying patches to CKAN core and installed extensions. These patches are applied automatically during the build process, allowing for easy customization and updates.

0 commit comments

Comments
 (0)