FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ret2shell/.devcontainer at main · ret2shell/ret2shell · GitHub

Repository navigation

Latest commit

 

History

History

README.md

DevContainer

This directory contains the configuration for the development container. It allows you to develop in a consistent environment across different machines.

The devcontainer will automatically execute the 00-post-start.sh script after the container is started.

Environment

The devcontainer has the following applications pre-installed:

  • Rust
  • Node.js
  • Git
  • Docker
  • LLDB
  • Kubectl, Helm, Minikube (for Kubernetes development)

Some devtools are also pre-installed into /usr/local/bin, see devtools for details.

Note

The devcontainer won't start the kubernetes cluster. You need to connect to an existing cluster.

Once you configured your kubectl to connect to a cluster, you can run the following command to generate the kubeconfig file and patch the ret2shell config file:

./.devcontainer/apply-kubeconfig.sh

Fast development

To fast setup the back-end development environment (including database, cache, etc.), you can run the following command in the terminal:

./.devcontainer/up-dev.sh

It will start the docker-compose.dev.yml file via Docker Compose.


Back | FazBrowse Home | New Git URL