Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build by docker #6420

Closed
BrikeX opened this issue Apr 17, 2024 · 3 comments
Closed

Failed to build by docker #6420

BrikeX opened this issue Apr 17, 2024 · 3 comments
Labels

Comments

@BrikeX
Copy link

BrikeX commented Apr 17, 2024

Running the following script:

mkdir lightgbm-docker
cd lightgbm-docker
wget https://raw.githubusercontent.com/Microsoft/LightGBM/master/docker/dockerfile-cli
docker build \
    -t lightgbm-cli \
    -f dockerfile-cli \
    .

then it reports:

ERROR: failed to solve: process “/bin/sh -c git clone --recursive --branch stable --depth 1 https://github.com/Microsoft/LightGBM && cd ./Lightgbm && cmake -B build -S . && cmake --build build -j4 && cmake --install build && cd${HOME}&& rm -rf LightGBM” did not complete successfully: exit code: 2

It seems has some changes in the commit:
4332b9d

@jameslamb jameslamb added the bug label Apr 17, 2024
@jameslamb
Copy link
Collaborator

Thanks for the report.

Are you interested in investigating this and proposing a fix?

@BrikeX
Copy link
Author

BrikeX commented Apr 30, 2024

@jameslamb Has this commit #6426 fixed this bug? I found that it could be fixed if I change the Ubuntu version to 22.04 and change the directory to "./LightGBM".

@jameslamb
Copy link
Collaborator

It will, yes, but it isn't merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants