GithubHelp home page GithubHelp logo

monodevelop-docker's Introduction

monodevelop-docker

Dockerfile for Mono 5, .Net Core 2 and Monodevelop 7

to build image locally copy Dockerfile in a folder and use

$ sudo docker build \
 --build-arg HTTP_PROXY="<host>:<port>" \
 --build-arg HTTPS_PROXY="<host>:<port>" \
 -t armandob/monodevelop-docker . 

NB: do not forget the point at the end

to run image use

$ sudo docker run \
 --name monodevelop-docker-container \
 --net=host \
 -it --rm \
 -e "DISPLAY=$DISPLAY" \
 -e "HTTP_PROXY=<host>:<port>" \
 -e "HTTPS_PROXY=<host>:<port>" \
 -u $(id -u) \
 -v /tmp:/tmp \
 -v /home:/home:ro \
 -v /home/$USER:/home/$USER:rw \
 -v /etc/group:/etc/group:ro \
 -v /etc/passwd:/etc/passwd:ro \
 -v /etc/shadow:/etc/shadow:ro \
 -v /etc/sudoers.d:/etc/sudoers.d:ro \
 -v /tmp/.X11-unix:/tmp/.X11-unix:rw \
 armandob/monodevelop-docker

to add a single host to ip mapping use --add-host=<host>:<ip_address>

es: --add-host=addins.monodevelop.com:40.123.47.58

to share other folders with docker container use -v <host folder path>:<docker folder path>

es: to share /opt folder, add -v /opt:/opt

to change gtk theme settings use follow command (while is running image)

$ sudo docker exec -it monodevelop-docker-container lxappearance

monodevelop-docker's People

Watchers

 avatar  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.