Let's be honest. Linux is a great server platform for running apps and services in enterprise settings, but it lags behind in terms of convenience when it comes to day-to-day use. In school or work, however, we are often required to develop for Linux platform.
In this video, I will show you how to develop, debug, and deploy a C/C++ Linux program with CLion running on a Mac or Windows system via Docker.
project repo:
https://github.com/TechHara/clion_docker
Docker:
https://www.docker.com
CLion:
https://www.jetbrains.com/clion/
Docker build command
$ docker build -t linux_cpp_dev_env .
Docker run command
$ docker run -it --rm -v `pwd`:/work linux_cpp_dev_env
Build command
$ cmake -Bbuild && make -Cbuild
Тэги:
#c++ #linux #docker #container #development #ide #clion #c_programming