Skip to content

Commit

Permalink
Merge pull request #58 from Annopaolo/https_for_git
Browse files Browse the repository at this point in the history
Dockerfile: use `https` instead of unsupported `git` protocol
  • Loading branch information
bettio authored Apr 1, 2022
2 parents b92889d + 977d8d7 commit 2e1d865
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ WORKDIR /build
RUN apt-get -qq update && apt-get -qq install libsnappy-dev

# Let's start by building VerneMQ
# VerneMQ 1.11.0 uses git protocol, but it's no more supported by Github.
# See https://github.blog/2021-09-01-improving-git-protocol-security-github/
RUN git config --global url.https://.insteadOf git://

RUN git clone https://github.com/vernemq/vernemq.git -b 1.11.0 && \
cd vernemq && \
make rel && \
Expand Down

0 comments on commit 2e1d865

Please sign in to comment.