Created
May 14, 2019 03:39
-
-
Save tstellanova/3505e6e21eb099df0ac635701028aa91 to your computer and use it in GitHub Desktop.
Docker file for rust plus ros
This file contains 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 ros | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && apt-get -y --quiet --no-install-recommends install \ | |
curl \ | |
&& apt-get -y autoremove \ | |
&& apt-get clean autoclean \ | |
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/* | |
SHELL ["/bin/bash", "-c"] | |
# install toolchain | |
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y | |
ENV PATH="/root/.cargo/bin:${PATH}" | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment