feat: modify base dependencies + remove unnecessary packages in lite docker (#310)

* feat: update base/adv dependencies

* feat: update Dockerfile

* ci: update free disk for docker build
This commit is contained in:
Khoi-Nguyen Nguyen-Ngoc
2024-09-21 12:11:58 +07:00
committed by GitHub
parent d6a9510441
commit a865e2b095
3 changed files with 31 additions and 30 deletions

View File

@@ -29,6 +29,22 @@ jobs:
- lite
- full
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Set repository and image name
run: |
echo "FULL_IMAGE_NAME=${{ env.REGISTRY }}/${IMAGE_NAME,,}" >>${GITHUB_ENV}
@@ -72,22 +88,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Build docker image
uses: docker/build-push-action@v6
with: