Skip to content

Commit

Permalink
modified the container name for the adore_cli in the docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
MikkelDLR committed Sep 27, 2024
1 parent 393d46a commit b930efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion adore_cli.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ DOCKER_COMPOSE_FILE?=${ADORE_CLI_MAKEFILE_PATH}/docker-compose.yaml

UID := $(shell id -u)
GID := $(shell id -g)
ADORE_TAG ?= $(ADORE_CLI_TAG)


TEST_SCENARIOS?=adore_scenarios/baseline_test.launch
Expand Down Expand Up @@ -135,7 +136,7 @@ adore_cli_start_headless: adore_cli_setup
.PHONY: adore_cli_attach
adore_cli_attach:
@echo "Running adore_cli attach..."
docker exec -it ${ADORE_CLI_PROJECT}_${ADORE_CLI_TAG} /bin/zsh -c "ADORE_CLI_WORKING_DIRECTORY=${ADORE_CLI_WORKING_DIRECTORY} bash /tmp/adore_cli/tools/adore_cli.sh" || true
docker exec -it ${ADORE_CLI_PROJECT}_${ADORE_TAG} /bin/zsh -c "ADORE_CLI_WORKING_DIRECTORY=${ADORE_CLI_WORKING_DIRECTORY} bash /tmp/adore_cli/tools/adore_cli.sh" || true

.PHONY: branch_adore_cli
branch_adore_cli: ## Returns the current docker safe/sanitized branch for adore_cli
Expand Down
4 changes: 2 additions & 2 deletions adore_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
adore_cli_core:
privileged: true
image: ${ADORE_CLI_PROJECT}:${ADORE_CLI_TAG:-latest}
container_name: ${ADORE_CLI_PROJECT}_base_${ADORE_CLI_TAG}
container_name: ${ADORE_CLI_PROJECT}_base_${ADORE_TAG}
user: ${USER}
hostname: ${HOSTNAME:-ADORe-CLI}
network_mode: "host"
Expand Down Expand Up @@ -39,7 +39,7 @@ services:
ipc: "host"
pid: "host"
image: ${ADORE_CLI_PROJECT_X11_DISPLAY}:${ADORE_CLI_TAG:-latest}
container_name: ${ADORE_CLI_PROJECT}_${ADORE_CLI_TAG}
container_name: ${ADORE_CLI_PROJECT}_${ADORE_TAG}
user: ${USER}
hostname: ${HOSTNAME:-ADORe-CLI}
network_mode: "host"
Expand Down

0 comments on commit b930efd

Please sign in to comment.