浏览代码

Fix a broken URL in contributing.md (#538)

Fixed the url in contributing.md with working one.

Co-authored-by: justheuristic <justheuristic@gmail.com>
(cherry picked from commit e584bb59e89f4a2824be28b5824548c5a5afa551)
Egiazarian Vage 2 年之前
父节点
当前提交
1e6f30e4bc
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      Dockerfile
  2. 1 1
      docs/user/contributing.md

+ 3 - 0
Dockerfile

@@ -9,11 +9,14 @@ RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment
 # Install packages
 # Install packages
 RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
 RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
   build-essential \
   build-essential \
+  curl \
   wget \
   wget \
   git \
   git \
   vim \
   vim \
   && apt-get clean autoclean && rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/*
   && apt-get clean autoclean && rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} /tmp/* /var/tmp/*
 
 
+RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
+ENV PATH="/root/.cargo/bin:${PATH}"
 RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O install_miniconda.sh && \
 RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O install_miniconda.sh && \
   bash install_miniconda.sh -b -p /opt/conda && rm install_miniconda.sh
   bash install_miniconda.sh -b -p /opt/conda && rm install_miniconda.sh
 ENV PATH="/opt/conda/bin:${PATH}"
 ENV PATH="/opt/conda/bin:${PATH}"

+ 1 - 1
docs/user/contributing.md

@@ -2,7 +2,7 @@
 
 
 This section describes the ways to contribute to the hivemind library. For technical details of developing this library
 This section describes the ways to contribute to the hivemind library. For technical details of developing this library
 and getting towards merging your code in the master branch, read
 and getting towards merging your code in the master branch, read
-the [guidelines](https://github.com/learning-at-home/hivemind/blob/master/CONTRIBUTING.md) in our GitHub repository. In
+the [guidelines](https://github.com/learning-at-home/hivemind/blob/master/CONTRIBUTING.md#) in our GitHub repository. In
 any case, please follow the [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct/)
 any case, please follow the [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct/)
 code of conduct when discussing the library and the changes with other community members.
 code of conduct when discussing the library and the changes with other community members.