Skip to content

Commit

Permalink
Update 2024-12-09-apt-buildpack-cache-issue.md
Browse files Browse the repository at this point in the history
Fixed a command

Signed-off-by: ArsHaider <[email protected]>
  • Loading branch information
ArsHaider authored Jan 8, 2025
1 parent 9be6428 commit 8435b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _kbarticles/2024-12-09-apt-buildpack-cache-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If the number of packages that you are installing during staging is within the a

```shell
app_guid=$(cf app --guid <staging-app-name>)
cf curl /v3/apps/${app_guid}/actions/clear_buildpack_cache
cf curl -X POST /v3/apps/${app_guid}/actions/clear_buildpack_cache
```

You can additionally configure the apt buildpack cache to purge any cached content by setting `cleancache` to true which calls `apt-get clean` and `apt-get autoclean` and is useful to remove any cached content per the apt buildpack [documentation](https://github.com/cloudfoundry/apt-buildpack?tab=readme-ov-file#cloud-foundry-experimental-apt-buildpack).
Expand Down

0 comments on commit 8435b3a

Please sign in to comment.