Skip to content

Commit

Permalink
Merge pull request #762 from CanalTP/fix_git_version
Browse files Browse the repository at this point in the history
[fix] allow git-version in dockerfile
  • Loading branch information
Pierre-Etienne Bougué committed Apr 6, 2021
2 parents 9afd8ce + a7376ec commit 9214412
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
./examples
**/target
**/.git
*.md
Dockerfile
./tests
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ COPY --from=proj-builder /tmp/proj-build /
WORKDIR /usr/src/app
COPY . ./
# install rustup
RUN apt install --yes curl
RUN apt install --yes curl git
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH "/root/.cargo/bin:$PATH"
# build the project
Expand Down

0 comments on commit 9214412

Please sign in to comment.