Skip to content

Instantly share code, notes, and snippets.

@tstellanova
Created May 14, 2019 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tstellanova/3505e6e21eb099df0ac635701028aa91 to your computer and use it in GitHub Desktop.
Save tstellanova/3505e6e21eb099df0ac635701028aa91 to your computer and use it in GitHub Desktop.
Docker file for rust plus ros
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