CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.86k stars 542 forks source link

Add Dockerfile so MacOS users can build #2928

Closed abjdev closed 4 months ago

abjdev commented 4 months ago

This pull request solves issues with building Cosmos Projects using MacOS/Arch Linux User needs to have Docker installed.

abjdev commented 4 months ago

To Create the container:

docker container create -i -t --name cosmosos cosmos

To build a project:

# Copy project files from host to Container
docker cp . cosmosos:/Cosmos/Osname

docker exec -it cosmosos cd Projects/Osname
docker exec -it cosmosos dotnet build Projects/Osname/Osname.sln

Replace Osname with your OS name

zarlo commented 4 months ago

would you be willing to change this to a Dev Container setup?

abjdev commented 4 months ago

would you be willing to change this to a Dev Container setup?

@zarlo I don't know

zarlo commented 4 months ago

would you be willing to change this to a Dev Container setup?

@zarlo I don't know

as in you dont know how to or if you want to. either way is fine

abjdev commented 4 months ago

would you be willing to change this to a Dev Container setup?

@zarlo I don't know

as in you dont know how to or if you want to. either way is fine

@zarlo okay. can you review it?