Skip to content

Commit

Permalink
Merge pull request #14 from empear-analytics/juraj-azure-authenticati…
Browse files Browse the repository at this point in the history
…on-fix

Downgrade libcurl to fix git authentication issues when using personal access tokens with Azure DevOps
  • Loading branch information
jumarko authored Apr 9, 2019
2 parents 01a7d54 + 06b13d8 commit a90fbe2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker-codescene/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM ubuntu:18.10

RUN apt-get update; apt-get install -y git openjdk-11-jdk
RUN apt-get install -y locales
# To workaround git authentication issues with libcurl 7.61.0 installed with 18.10
# Azure DevOps clone fails with personal access tokens -> see https://github.com/Microsoft/Git-Credential-Manager-for-Mac-and-Linux/issues/102
RUN echo "deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted" >> /etc/apt/sources.list

RUN apt-get update; apt-get install -y git openjdk-11-jdk locales libcurl3-gnutls=7.58.0*

## because this is Docker, we can just set these without bothering
## with most of the locale infrastructure
Expand Down

0 comments on commit a90fbe2

Please sign in to comment.