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

Update arm64.Dockerfile #5847

Merged
merged 1 commit into from
Aug 30, 2022
Merged

Update arm64.Dockerfile #5847

merged 1 commit into from
Aug 30, 2022

Conversation

mpilgrem
Copy link
Member

Experimental, to see if the Dockerfile can be updated without breaking the GitHub workflow.

@mpilgrem mpilgrem marked this pull request as draft August 29, 2022 16:18
Removes `stack setup ghc-8.10.4` and `stack update`, as neither should be required.

Replaces `RUN cd /src` with `WORKDIR /src` as former does not appear to have the desired effect.

Consistent with `release.hs`, use `--nightly-2022-08-02 --extra-dep Cabal-3.6.3.0` with final `stack script`.

Also uses separate `RUN` commands rather than `&&`, for shorter lines and better clarity.
@mpilgrem
Copy link
Member Author

@snoyberg, I am having difficulty with the ARM64 workflow on this commit. It is failing with "ApplyLayer exit status 1 stdout: stderr: write /home/stack/.stack/programs/aarch64-linux/ghc-9.2.4/lib/ghc-9.2.4/ghc-9.2.4/libHSghc-9.2.4_p.a: no space left on device", when it was passing earlier.

Given 'no space left on device', I wondered if it was the same cause as #5709 (comment) and #5709 (comment), where you cleaned up old Docker images and that resolved matters. Could you do the same again?

@mpilgrem mpilgrem mentioned this pull request Aug 29, 2022
@snoyberg
Copy link
Contributor

Given 'no space left on device', I wondered if it was the same cause as #5709 (comment) and #5709 (comment), where you cleaned up old Docker images and that resolved matters. Could you do the same again?

I logged into the system and saw it had a bunch of free space already. I'd already set up a recurring nightly prune, it seems like there were just enough builds in the past 24 hours to fill up the disk.

If you'd like access to the machine, send me your SSH public key on Slack and I'll give you access.

@mpilgrem mpilgrem marked this pull request as ready for review August 30, 2022 19:18
@mpilgrem mpilgrem merged commit 023feea into master Aug 30, 2022
@mpilgrem mpilgrem deleted the aarch64 branch August 30, 2022 19:18
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

Successfully merging this pull request may close these issues.

2 participants