Coder Social home page Coder Social logo

mhmmdd / visual-studio-linux-build-box Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ducatel/visual-studio-linux-build-box

1.0 1.0 0.0 11 KB

Docker container used to allows Visual Studio to build a Linux application.

License: Apache License 2.0

visual-studio-linux-build-box's Introduction

Visual Studio Linux Build Box

Docker Build Status Docker Stars Docker Pulls

This image is used to allows Visual Studio to build a Linux application. The official Microsoft tutorial Visual C++ for Linux Development.

Version

  • Ubuntu 18.04 -> ducatel/visual-studio-linux-build-box:18.04, ducatel/visual-studio-linux-build-box:latest
  • Ubuntu 16.04 -> ducatel/visual-studio-linux-build-box:16.04

How to use it

How launch the build box

The image expose an SSH server on port 22. The credential is:

  • Login root
  • password toor

So 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

How connect to your Visual Studio

On your Visual Studio go to Tools > Options > Cross Platform > Linux and enter the credential

Linux connect manager

  • Hostname: IP or hostname of your docker host
  • Port: The port you have pass in the previous command ( 12345 for example)
  • Username: root
  • Authentication type: password
  • Password: toor

Extends

You 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

visual-studio-linux-build-box's People

Contributors

ducatel avatar mhmmdd avatar bazzilic avatar

Stargazers

Metehan KARA  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.