A Development Container for TTCN-3 development using the Eclipse Titan toolset.
This Dev Container provides a pre-configured environment for working with TTCN-3 using the Eclipse Titan compiler and tools. It simplifies the setup process, ensuring that all dependencies are installed and configured correctly.
- Based on Alpine Linux for a lightweight environment
- Pre-installed dependencies for TTCN-3 development
- Pre-configured user (
titan) with sudo privileges - Automatic host modification at startup
- Pre-configured VS Code settings and extensions
- Integrated with Git for version control
- VS Code with the Dev Containers extension
- Docker installed on your system
To launch locally, ensure the prerequisites are met
-
Clone this repository:
git clone https://github.com/m-umair-khan-dev/ttcn-3-devcontainer.git cd ttcn-3-devcontainer -
Open the folder in VS Code.
-
When prompted, click "Reopen in Container" or manually open the Command Palette (
Ctrl+Shift+P) and select "Dev Containers: Reopen in Container". -
Start working with TTCN-3!
βββ .devcontainer/ # Dev Container configuration
β βββ devcontainer.json # Dev Container settings
βββ NOTES.md # Documentation
Eclipse Titan TTCN-3(cloned and built from source)gcc,make,gitdiffutils,expect,openssl-dev,libxml2-devncurses-dev,flex,bison,perl,bash,libeditlksctp-tools(for SCTP protocol testing)
The devcontainer.json file ensures a seamless development experience with:
- Default shell set to
bash - Installed extensions:
- C/C++ (ms-vscode.cpptools)
- GitLens (ms-vscode.gitlens)
- Makefile Tools (ms-vscode.makefile-tools)
After the container starts, the .bashrc script updates the /etc/hosts file for proper hostname resolution.
Contributions are welcome! Feel free to submit issues or pull requests to enhance this Dev Container.
This project is licensed under the MIT License - see the LICENSE file for details.