Docker container used to allows Visual Studio to build a Linux application.
3.9K
This image is used to allows Visual Studio to build a Linux application. The official Microsoft tutorial Visual C++ for Linux Development.
ducatel/visual-studio-linux-build-box:18.04, ducatel/visual-studio-linux-build-box:latestducatel/visual-studio-linux-build-box:16.04docker pull docker.pkg.github.com/ducatel/visual-studio-linux-build-box/vs-linux-build-box:18.04docker pull docker.pkg.github.com/ducatel/visual-studio-linux-build-box/vs-linux-build-box:16.04The image expose an SSH server on port 22. The credential is:
roottoorSo to launch the build box, execute this command on your linux docker host
docker run -d -p 12345:22 --security-opt seccomp:unconfined ducatel/visual-studio-linux-build-box
On your Visual Studio go to Tools > Options > Cross Platform > Linux and enter the credential

12345 for example)rootpasswordtoorYou can extends the build image to include some dependencies.
For example, the mongo-c driver
FROM ducatel/visual-studio-linux-build-box
RUN apt-get update && \
apt-get install -y libxml2-dev pkg-config libssl-dev libsasl2-dev automake autoconf libtool && \
git clone https://github.com/mongodb/mongo-c-driver.git && \
cd mongo-c-driver && \
git checkout 1.3.5 && \
./autogen.sh && \
make && make install
Content type
Image
Digest
Size
179 MB
Last updated
over 6 years ago
docker pull ducatel/visual-studio-linux-build-box