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

Docker build is failing #342

Open
benfoley opened this issue Sep 4, 2023 · 2 comments
Open

Docker build is failing #342

benfoley opened this issue Sep 4, 2023 · 2 comments
Assignees

Comments

@benfoley
Copy link
Contributor

benfoley commented Sep 4, 2023

buildx failed with: ERROR: failed to solve: process "/bin/sh -c apt-get install gawk && chmod +x extras/* && ./extras/install_liblbfgs.sh && ./extras/install_srilm.sh && chmod +x env.sh && source ./env.sh" did not complete successfully: exit code: 1

@benfoley benfoley self-assigned this Sep 4, 2023
@nicklambourne
Copy link
Contributor

Would suggest breaking this compound command into one docker command per unix command to help with debugging.

@benfoley
Copy link
Contributor Author

benfoley commented Sep 5, 2023

Build now works locally (with changes in PR #343) but Github action fails due to lack of space.

Have changed to larger runner, let's see if that works. Later, try cleaning up things before build and go back to free runner.

eg, try the following, from https://github.com/jens-maus/RaspberryMatic/blob/d5044bef3307bc61166377c162569de1a61cf332/.github/workflows/ci.yml#L34-L40

    - name: free disk space
      run: |
        sudo swapoff -a
        sudo rm -f /swapfile
        sudo apt clean
        docker rmi $(docker image ls -aq)
        df -h

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

No branches or pull requests

2 participants