Skip to content

Add Dockerfile for development container #6951

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

cknitt
Copy link
Member

@cknitt cknitt commented Aug 14, 2024

See #6851 - people were asking for a dev container.

This adds a Dockerfile and a Makefile entry for building a container with all the required dependencies installed.
I am not familiar with the Development Containers spec as such and leaving that to someone else.

Example usage:

make dev-container
docker run --rm -it -v `pwd`:/data -w /data rescript-dev-container bash
opam exec -- make
opam exec -- make lib
opam exec -- make test
# etc.

@cknitt cknitt merged commit 39a6e88 into rescript-lang:master Aug 15, 2024
20 checks passed
@cknitt cknitt deleted the docker branch August 15, 2024 07:22
@cknitt cknitt mentioned this pull request Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants