Skip to content

Commit df261a8

Browse files
committed
Enhancement: Add TCL installation to Dockerfile and update CI workflow to check for Docker Compose file existence and validate essential packages
Signed-off-by: Ihor Dvoretskyi <[email protected]>
1 parent ff508d0 commit df261a8

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1111
openssh-server \
1212
nodejs \
1313
npm \
14+
tcl \
1415
&& apt-get clean -y \
1516
&& rm -rf /var/lib/apt/lists/*
1617

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- name: Install missing dependencies
2525
run: sudo apt-get update && sudo apt-get install -y tcl
2626

27+
- name: Check Docker Compose file existence
28+
run: test -f .devcontainer/docker-compose.yml && echo "Docker Compose file exists"
29+
2730
- name: Validate docker-compose.yml
2831
run: docker compose -f .devcontainer/docker-compose.yml config
2932

@@ -76,12 +79,13 @@ jobs:
7679
with:
7780
runCmd: |
7881
# Test basic tools are available
79-
which docker
80-
which kubectl
81-
which helm
82-
which gh
83-
which node
84-
which npm
82+
which tclsh || echo "tclsh is missing"
83+
which docker || echo "docker is missing"
84+
which kubectl || echo "kubectl is missing"
85+
which helm || echo "helm is missing"
86+
which gh || echo "gh is missing"
87+
which node || echo "node is missing"
88+
which npm || echo "npm is missing"
8589
# Test essential packages
8690
curl --version
8791
jq --version

0 commit comments

Comments
 (0)