Created
February 23, 2020 16:25
-
-
Save messense/2f70c4bc6277de4708ef632e97e3c48a to your computer and use it in GitHub Desktop.
Build a Rust & Valgrind Docker image for testing FFI bindings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
RUN apt-get update && apt-get install -y curl valgrind build-essential clang | |
# Install Rust | |
ENV RUST_VERSION=stable | |
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=$RUST_VERSION | |
# Install cargo-valgrind | |
RUN /bin/bash -c "source /root/.cargo/env && cargo install cargo-valgrind" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment