https://github.com/mmtk/mmtk-dev-env
A Dockerfile to setup the dependencies of MMTk and bindings
https://github.com/mmtk/mmtk-dev-env
Last synced: 8 months ago
JSON representation
A Dockerfile to setup the dependencies of MMTk and bindings
- Host: GitHub
- URL: https://github.com/mmtk/mmtk-dev-env
- Owner: mmtk
- Created: 2020-10-29T05:13:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-15T04:07:18.000Z (over 1 year ago)
- Last Synced: 2025-04-07T01:11:15.160Z (about 1 year ago)
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MMTk Dependencies
This repo provides a docker file which lists the dependencies of [MMTk](https://github.com/mmtk/mmtk-core) and its bindings for [V8](https://github.com/mmtk/mmtk-v8), [OpenJDK](https://github.com/mmtk/mmtk-openjdk) and [JikesRVM](https://github.com/mmtk/mmtk-jikesrvm).
This docker file is based-on the official _Ubuntu-18.04_ (bionic) docker image which can be found [here](https://hub.docker.com/_/ubuntu).
As the docker is minimal, the docker file may install packages (such as `locales`) which are already included on a standard Ubuntu-18.04 installation.
Unless stated otherwise in the dockerfile, package versions are the latest installable through the `apt-get` command on _Ubuntu-18.04_.
## Software Dependencies
Currently, the MMTk team run the development and testing of MMTk and bindings on Ubuntu-18.04.
As in [Dockerfile](https://github.com/mmtk/mmtk-dev-env/blob/main/Dockerfile), setting up the dependencies can be done through these steps:
1. Install the required packages: [Dockerfile#17](https://github.com/mmtk/mmtk-dev-env/blob/main/Dockerfile#L18),
2. Install `rustup` and add it to `PATH`: [Dockerfile#24-25](https://github.com/mmtk/mmtk-dev-env/blob/main/Dockerfile#L24-L25),
3. Install our currently used nightly Rust toolchain using `rustup`: [Dockerfile#29](https://github.com/mmtk/mmtk-dev-env/blob/main/Dockerfile#L29),
4. Add the `i686-unknown-linux-gnu` target to the Rust toolchain: [Dockerfile#30](https://github.com/mmtk/mmtk-dev-env/blob/main/Dockerfile#L30)
__NOTE:__ We successfully tried the same procedure on Ubuntu-20.04, but Ubuntu-18.04 is still the version we use daily.
## Supported Hardware
We use an _AMD Ryzen 9 3900X_ Machine with 32GB RAM, running _Ubuntu 18.04.5 LTS (GNU/Linux 5.4.0-47-generic x86_64)_, for MMTk development.