Skip to content

docker: Slim down run image to save space for github #83

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

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

rzr
Copy link
Collaborator

@rzr rzr commented Apr 16, 2025

Those changes were motivated to github

This extra clean step saves 3GB (11GB to 7.6GB, which is still huge)

Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/10
Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/15
Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/7
Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/2

Change

Checklist

rzr added 2 commits April 16, 2025 13:46
This prevent the following error:

```
34.68 Downloading docker/uic-resources/linux/slc_cli_linux.zip (208 MB)
34.82 Error downloading object: docker/uic-resources/linux/slc_cli_linux.zip (4163ec1): Smudge error: Error downloading docker/uic-resources/linux/slc_cli_linux.zip (4163ec1a48e63dbde26a7e589a1af569f82d9cbbe11fd71742ff0ae2f726e292): batch response: This repository exceeded its LFS budget. The account responsible for the budget should increase it to restore access.
```

Origin: SiliconLabsSoftware#83
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#11
Relate-to: UIC-3077
Signed-off-by: Philippe Coval <[email protected]>
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • Dockerfile: Language not supported
  • cmake/modules/FindUnifySDK.cmake: Language not supported
Comments suppressed due to low confidence (1)

.github/workflows/build.yml:40

  • The artifact extraction path has been changed from '/build/dist' to '/dist'. Please confirm that this change reflects the updated directory structure within the Docker container; otherwise, the artifacts might not be correctly extracted.
          ${container}:/usr/local/opt/${{ env.project-name }}/dist .

rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 16, 2025
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 16, 2025
This prevent the following error:

```
34.68 Downloading docker/uic-resources/linux/slc_cli_linux.zip (208 MB)
34.82 Error downloading object: docker/uic-resources/linux/slc_cli_linux.zip (4163ec1): Smudge error: Error downloading docker/uic-resources/linux/slc_cli_linux.zip (4163ec1a48e63dbde26a7e589a1af569f82d9cbbe11fd71742ff0ae2f726e292): batch response: This repository exceeded its LFS budget. The account responsible for the budget should increase it to restore access.
```

Origin: SiliconLabsSoftware#83
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#11
Relate-to: UIC-3077
Signed-off-by: Philippe Coval <[email protected]>
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 16, 2025
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 16, 2025
This prevent the following error:

```
34.68 Downloading docker/uic-resources/linux/slc_cli_linux.zip (208 MB)
34.82 Error downloading object: docker/uic-resources/linux/slc_cli_linux.zip (4163ec1): Smudge error: Error downloading docker/uic-resources/linux/slc_cli_linux.zip (4163ec1a48e63dbde26a7e589a1af569f82d9cbbe11fd71742ff0ae2f726e292): batch response: This repository exceeded its LFS budget. The account responsible for the budget should increase it to restore access.
```

Origin: SiliconLabsSoftware#83
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#11
Relate-to: UIC-3077
Signed-off-by: Philippe Coval <[email protected]>
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 17, 2025
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 17, 2025
This prevent the following error:

```
34.68 Downloading docker/uic-resources/linux/slc_cli_linux.zip (208 MB)
34.82 Error downloading object: docker/uic-resources/linux/slc_cli_linux.zip (4163ec1): Smudge error: Error downloading docker/uic-resources/linux/slc_cli_linux.zip (4163ec1a48e63dbde26a7e589a1af569f82d9cbbe11fd71742ff0ae2f726e292): batch response: This repository exceeded its LFS budget. The account responsible for the budget should increase it to restore access.
```

Origin: SiliconLabsSoftware#83
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#11
Relate-to: UIC-3077
Signed-off-by: Philippe Coval <[email protected]>
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 17, 2025
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 17, 2025
This prevent the following error:

```
34.68 Downloading docker/uic-resources/linux/slc_cli_linux.zip (208 MB)
34.82 Error downloading object: docker/uic-resources/linux/slc_cli_linux.zip (4163ec1): Smudge error: Error downloading docker/uic-resources/linux/slc_cli_linux.zip (4163ec1a48e63dbde26a7e589a1af569f82d9cbbe11fd71742ff0ae2f726e292): batch response: This repository exceeded its LFS budget. The account responsible for the budget should increase it to restore access.
```

Origin: SiliconLabsSoftware#83
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#11
Relate-to: UIC-3077
Signed-off-by: Philippe Coval <[email protected]>
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 17, 2025
rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 17, 2025
This prevent the following error:

```
34.68 Downloading docker/uic-resources/linux/slc_cli_linux.zip (208 MB)
34.82 Error downloading object: docker/uic-resources/linux/slc_cli_linux.zip (4163ec1): Smudge error: Error downloading docker/uic-resources/linux/slc_cli_linux.zip (4163ec1a48e63dbde26a7e589a1af569f82d9cbbe11fd71742ff0ae2f726e292): batch response: This repository exceeded its LFS budget. The account responsible for the budget should increase it to restore access.
```

Origin: SiliconLabsSoftware#83
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#11
Relate-to: UIC-3077
Signed-off-by: Philippe Coval <[email protected]>
@rzr rzr merged commit 6e1c614 into SiliconLabsSoftware:main Apr 17, 2025
1 check passed
rzr added a commit that referenced this pull request Apr 17, 2025
Those changes were motivated to github

This extra clean step saves 3GB (11GB to 7.6GB, which is still huge)

Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#10
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#15
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#7
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#2
Forwarded: #83
Signed-off-by: Philippe Coval <[email protected]>
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