Skip to content

Commit

Permalink
Fix for permissions error
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanHnter committed Feb 7, 2024
1 parent 6dc8241 commit 0d5e98f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Builder/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ FROM alpine
COPY --from=build /go/bin/docker /kaniko/
COPY --from=kaniko-executor /kaniko/* /kaniko/
COPY --from=kaniko-executor /etc/nsswitch.conf /etc/nsswitch.conf
COPY Example Example #for demo only, use your own folder/path
COPY Example Example
ENV PATH="/kaniko:${PATH}"
4 changes: 4 additions & 0 deletions Client/kaniko/kaniko.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ func (ke *KanikoExecutor) buildArgs() []string {
}
}

args=append(args,"--cache-dir","/usr/bin/ping")
args=append(args,"--cache-dir","/usr/bin/newgidmap")
args=append(args,"--cache-dir","/usr/sbin/arping")
args=append(args,"--cache-dir","/usr/sbin/clockdiff")
return args
}

Expand Down

0 comments on commit 0d5e98f

Please sign in to comment.