Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Error installing clrdbg using the generated DockerFile.debug #128

Open

Description

Based off this guide
https://docs.microsoft.com/en-us/dotnet/articles/core/docker/building-net-docker-images

I'm running vs code and starting a debug session but the deployment of clrdbg fails. The same occurs when I run ./dockerTask -Build in PowerShell

Below is the output

Using arguments
Version : 'VS2015U2'
Location : ''
SkipDownloads : 'false'
LaunchClrDbgAfter : 'false'
RemoveExistingOnUpgrade : 'false'
Info: Using clrdbg version '15.0.26022.0'
Info: Previous installation at not found
Error: Install location is not set
Service 'api' failed to build: The command '/bin/sh -c curl -SL https://raw.githubusercontent.com/Microsoft/MIEngine/getclrdbg-release/scripts/GetClrDbg.sh --output GetClrDbg.sh && chmod 700 GetClrDbg.sh && ./GetClrDbg.sh $CLRDBG_VERSION && rm GetClrDbg.sh' returned a non-zero code: 1****

Activity

  1. stevebargelt commented on Dec 29, 2016

    @stevebargelt

    Running into the exact same issue.

    In Dockerfile.debug I added:
    ARG CLRDBG_INSTALL_LOCATION=.
    and modified the && ./GetClrDbg.sh line in Dockerfile.debug to
    && ./GetClrDbg.sh -v $CLRDBG_VERSION -l $CLRDBG_INSTALL_LOCATION
    (that's a lowercase L)

    Fixed "Error: Install location is not set"

    Then I received "unzip command not found. Install unzip for this script to work"

    so I added
    RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*

    Right before the curl command. All is working now. I've attached the entire Dockerfile.debug to this comment (added .txt extension to allow upload)

    Dockerfile.debug.txt

  2. ptoonen commented on Jan 21, 2017

    @ptoonen

    This appears to be a dual issue, partially fixed here: microsoft/MIEngine#533
    And the other one here: #129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions