Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2425 from ibuildthecloud/main
Browse files Browse the repository at this point in the history
Create run directory to ensure xtables works in local
  • Loading branch information
ibuildthecloud authored Jan 18, 2024
2 parents 5344e2c + fe6821b commit 9252aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/local/server_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func buildImage(ctx context.Context) (ggcrv1.Image, error) {
out := &bytes.Buffer{}
t := tar.NewWriter(out)
for _, dir := range []string{"wd", "tmp", "var", "var/lib", "etc", "etc/nginx", "var/log", "var/log/nginx",
"var/cache", "var/cache/nginx"} {
"run", "var/cache", "var/cache/nginx"} {
err := t.WriteHeader(&tar.Header{
Typeflag: tar.TypeDir,
Name: dir,
Expand Down

0 comments on commit 9252aae

Please sign in to comment.