Skip to content

Commit

Permalink
Added ignore cache to apk.go
Browse files Browse the repository at this point in the history
Signed-off-by: Miaha Cybersec <[email protected]>
  • Loading branch information
Miaha Cybersec committed Apr 27, 2024
1 parent d648155 commit fd92d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pkgmgr/apk.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (am *apkManager) InstallUpdates(ctx context.Context, manifest *unversioned.
// mounting a copy of apk-tools-static into the image and invoking apk-static directly.
func (am *apkManager) upgradePackages(ctx context.Context, updates unversioned.UpdatePackages) (*llb.State, []byte, error) {
// TODO: Add support for custom APK config
apkUpdated := am.config.ImageState.Run(llb.Shlex("apk update"), llb.WithProxy(utils.GetProxy())).Root()
apkUpdated := am.config.ImageState.Run(llb.Shlex("apk update"), llb.WithProxy(utils.GetProxy()), llb.IgnoreCache).Root()

Check warning on line 166 in pkg/pkgmgr/apk.go

View check run for this annotation

Codecov / codecov/patch

pkg/pkgmgr/apk.go#L166

Added line #L166 was not covered by tests

var apkInstalled llb.State
var resultManifestBytes []byte
Expand Down

0 comments on commit fd92d39

Please sign in to comment.