Develop C games for the Nintendo 64. Includes Debian C/C++ build tools as well as the N64 modern-sdk toolchain by CrashOveride.
Metadata | Value |
---|---|
Categories | Core, Languages |
Image type | Dockerfile |
Published images | mcr.microsoft.com/devcontainers/focal |
Available image variants | debian-11, debian-10, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04 (full list) |
Published image architecture(s) | x86-64, aarch64/arm64 for debian-11 , ubuntu-22.04 , and ubuntu-18.04 variants |
Container host OS support | Linux, macOS, Windows |
Container OS | Debian, Ubuntu |
Languages, platforms | C |
- Download and install VSCode.
- Download and install Docker
- Open VSCode and look for "Extensions" tab. Open it.
- Search for "Remote Containers". Install it.
ctrl+shift+p
orcmd+shift+p
to open up a VSCode command prompt. Type inRemote-Containers: Clone Repository in Container Volume
. Allow it to reach out to Github.- Type in
MrGlitchByte/N64devkit
for repo. - Choose the branch you want to pull. NOTE: It takes a while to clone. Get a cup of coffee or take a 5 minute break.
You can directly reference pre-built versions of Dockerfile
by using the image
property in .devcontainer/devcontainer.json
or updating the FROM
statement in your own Dockerfile
to one of the following. An example Dockerfile
is included in this repository.
mcr.microsoft.com/devcontainers/debian
(latest Debian GA)mcr.microsoft.com/devcontainers/debian-11
(orbullseye
)mcr.microsoft.com/devcontainers/debian-10
(orbuster
)mcr.microsoft.com/devcontainers/ubuntu
(latest Ubuntu LTS)mcr.microsoft.com/devcontainers/ubuntu-22.04
(orjammy
)mcr.microsoft.com/devcontainers/ubuntu-20.04
(orfocal
)mcr.microsoft.com/devcontainers/ubuntu-18.04
(orbionic
)
You can decide how often you want updates by referencing a semantic version of each image. For example
mcr.microsoft.com/devcontainers/0-bullseye
mcr.microsoft.com/devcontainers/0.205-bullseye
mcr.microsoft.com/devcontainers/0.205.0-bullseye
However, we only do security patching on the latest non-breaking, in support versions of images (e.g. 0-debian-11
). You may want to run apt-get update && apt-get upgrade
in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.
You can use the contents of Dockerfile
to fully customize your container's contents or to build it for a container host architecture not supported by the image.
Beyond git
, this image / Dockerfile
includes zsh
, Oh My Zsh!, a non-root vscode
user with sudo
access, a set of common dependencies for development, and Vcpkg a cross-platform package manager for C/C++.
It also includes the Visual Studio Code extensions C/C++ Tools
, C/C++ Extension Pack
, and C/C++ Advanced Linting
.
This dev container and its associated image includes a clone of the Vcpkg
repo for library packages, and a bootstrapped instance of the Vcpkg-tool itself.
The minimum version of cmake
required to install packages is higher than the version available in the main package repositories for Debian (<=11) and Ubuntu (<=21.10). Vcpkg
will download a compatible version of cmake
for its own use if that is the case (on x86_64 architectures).
Most additional library packages installed using Vcpkg will be downloaded from their official distribution locations. To configure Vcpkg in this container to access an alternate registry, more information can be found here: Registries: Bring your own libraries to vcpkg.
To update the available library packages, pull the latest from the git repository using the following command in the terminal:
cd "${VCPKG_ROOT}"
git pull --ff-only
Note: Please review the Vcpkg license details to better understand its own license and additional license information pertaining to library packages and supported ports.