Skip to content

Commit

Permalink
Downgrade libcurl to fix git authentication issues when using persona…
Browse files Browse the repository at this point in the history
…l access tokens with Azure DevOps

This is a problem with libcurl 7.61.0 installed with 18.10.
See
- microsoft/Git-Credential-Manager-for-Mac-and-Linux#102
- https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1805203
  • Loading branch information
jumarko committed Apr 9, 2019
1 parent 01a7d54 commit 06b13d8
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 06b13d8

Please sign in to comment.