Skip to content

Commit

Permalink
Docker Alpine: Add support for GIT_SSL_NO_VERIFY
Browse files Browse the repository at this point in the history
  • Loading branch information
sm0svx committed Sep 1, 2019
1 parent a6aa79a commit 028b6c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/alpine/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN rm src/librtlsdr.so
WORKDIR ${HOME}
ARG GIT_REPO=https://github.com/sm0svx/svxlink.git
ARG GIT_REF=master
ARG GIT_SSL_NO_VERIFY=true
RUN git clone --branch ${GIT_REF} ${GIT_REPO}
#ADD find_librtlsdr.patch ${HOME}/
#RUN cd svxlink && patch -p1 < ${HOME}/find_librtlsdr.patch
Expand Down
1 change: 1 addition & 0 deletions docker/alpine/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ docker build \
${RTLSDR_REPO:+--build-arg RTLSDR_REPO=$RTLSDR_REPO} \
${GIT_REPO:+--build-arg GIT_REPO=$GIT_REPO} \
${GIT_REF:+--build-arg GIT_REF=$GIT_REF} \
${GIT_SSL_NOVERIFY:+--build-arg GIT_SSL_NOVERIFY=$GIT_SSL_NOVERIFY} \
-t ${IMG_NAME}:build . -f Dockerfile.build

echo
Expand Down

0 comments on commit 028b6c2

Please sign in to comment.