Sign inSign up

stevennkeneng/devenv-42

By stevennkeneng

Updated over 2 years ago

This is an ubuntu dev environment containing all the necessary to develop C projects at 42.

Image
Languages & frameworks
Developer tools
0

10K+

stevennkeneng/devenv-42 repository overview

Overview: devenv-42 Docker Image

This Docker image, devenv-42, is tailored specifically for developers, particularly those working with C. It features a variety of essential tools and enhancements designed to facilitate a productive development environment.

Base System
  • Ubuntu: The image is based on Ubuntu, providing a stable and widely used foundation with access to a vast repository of software.
Installed Tools and Utilities
  • General Utilities: Includes essential tools such as curl, wget, git, vim, nano, sudo, tmux and gcc.
  • Programming Tools: Comes with Python 3, Node.js, pip, and clang for comprehensive development support.
  • Enhanced Shell Experience: Uses Oh My Zsh for an enhanced shell experience, lazygit for managing git repositories, and norminette for adhering to the 42 school's coding standards.
  • Code Editors: Neovim is set up with LazyVim, providing a powerful editor that's ready to go for efficient coding tasks.
  • Fonts and Visuals: Nerd Fonts (JetBrains Mono) enhance the visual aspect of the terminal and text editors, making code easier to read.
  • File Browsing: eza (an enhanced ls), fzf (Fuzzy Finder) with advanced preview setups, and bat (a cat clone with syntax highlighting) enhance file browsing and viewing.
  • Memory Checking: Valgrind for detecting and diagnosing memory leaks, essential for C development.
  • Documentation Tools: tldr pages offer simplified and accessible man pages.
Usage: Mounting the Working Folder

To use this image and mount your working folder inside the container, follow this command pattern:

markdownCopy code

docker run -it --name devenv -v /path/to/your/local/folder:/home/coder/code stevennkeneng/devenv-42
  • Replace /path/to/your/local/folder with your local directory path.
  • This command setup ensures your local files are directly accessible inside the container, seamlessly integrating your development environment.
Customizations and Configuration
  1. Default Shell: Zsh, enhanced with Oh My Zsh, is the default shell, offering a rich, user-friendly command-line experience.
  2. Fuzzy Finder (fzf): Integrated with customized colors and preview options, perfect for quick file searches and command history exploration.
  3. Neovim Configuration: Pre-configured with LazyVim, ideal for both quick edits and full-scale projects.
  4. Lazygit: A user-friendly command-line tool for managing git repositories, installed for ease of use.
Conclusion

The devenv-42 Docker image provides a rich and efficient development environment equipped with a range of modern tools designed to enhance productivity and streamline the development workflow. Use the command provided above to integrate your development work seamlessly with this powerful toolset.

Tag summary

Content type

Image

Digest

sha256:374bf0211

Size

1.2 GB

Last updated

over 2 years ago

docker pull stevennkeneng/devenv-42