Git Product home page Git Product logo

vscode-server-dotnetcore's Introduction

VSCode Server with .NET Pre-Installed

This is a docker image of VSCode Server with the .NET LTS and STS SDK's pre-installed.
Docker image is based on LinuxServer.io Code-Server, which is based on Coder.com Code-Server.

License

GitHub License

Build Status

Code and Pipeline is on GitHub:
GitHub Last Commit
GitHub Workflow Status

Container Images

Docker container images are published on Docker Hub.
Multi-Architecture images are created for linux/amd64 and linux/arm64 (linux/arm/v7 is not supported by LSIO).
Tags are latest for main branch and develop for develop branch.
E.g. docker pull ptr727/vscode-server-dotnetcore:latest
E.g. docker pull ptr727/vscode-server-dotnetcore:develop

Builds include the LTS and STS supported versions of .NET SDK's.

Images are automatically rebuilt every Monday morning, picking up the latest upstream updates.
Docker Pulls
Docker Image Version

Usage

Follow the linuxserver/code-server instructions.

vscode-server-dotnetcore's People

Contributors

dependabot[bot] avatar ptr727 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vscode-server-dotnetcore's Issues

Can't debug

Hi

Thank you so much for this valuable resource. I used your Dockerfile to build an image and then I was able to launch VS Code via the browser.

Then I created a docker-comopse.yml to mount my source code into the container.

But I encountered two problems:

  1. I could not install any extension at all (errors)
  2. I could not debug or set breakpoints

Any ideas?

Can’t debug .net projects

I installed this extension: muhammad-sammy.csharp

When I try to debug my app, I get this error:

Command 'Debug: Start Debugging' resulted in an error
Unexpected token u in JSON at position 0

I don’t know who generated it, I looked at all the outputs and couldn’t find why this happened.

Permission issues

Hi, I am having problems to save files using your image. I get this error:

Failed to save 'Program.cs': Unable to write file 'vscode-remote://xxxxxxxxxx/config/workspace/Program.cs' (NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/config/workspace/Program.cs')

I did follow all the permissions instructions on codeserver and setup in the same way, so I would like if you made any change related to user, paths or permissions when setting up your image? just to check with you before going to the codeserver community

Support for NET8, ARM64

Hello, @ptr727 ,

Please add dotnet 8 support along with ARM64.

Alternatively, I could do that. Are you accepting merge requests?

Thanks!

  • Petre

Can't use `dotnet` without root

Unable to run: dotnet build without root permissions.

I'm getting the following exception on: dotnet build

abc@ptr727-vscode-server-dotnetcore-1:~/workspace/test-proj-01$ dotnet build
System.UnauthorizedAccessException: Access to the path '/usr/share/dotnet/.dotnet' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
   at System.IO.Directory.CreateDirectory(String path)
   at Microsoft.Extensions.EnvironmentAbstractions.DirectoryWrapper.CreateDirectory(String path)
   at Microsoft.DotNet.Configurer.FileSystemExtensions.<>c__DisplayClass0_0.<CreateIfNotExists>b__0()
   at Microsoft.DotNet.Cli.Utils.FileAccessRetrier.RetryOnIOException(Action action)
   at Microsoft.DotNet.Configurer.DotnetFirstTimeUseConfigurer.Configure()
   at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(IFirstTimeUseNoticeSentinel firstTimeUseNoticeSentinel, IAspNetCertificateSentinel aspNetCertificateSentinel, IFileSentinel toolPathSentinel, Boolean isDotnetBeingInvokedFromNativeInstaller, DotnetFirstRunConfiguration dotnetFirstRunConfiguration, IEnvironmentProvider environmentProvider, Dictionary`2 performanceMeasurements)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
   at Microsoft.DotNet.Cli.Program.Main(String[] args)

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.