mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 11:02:55 +01:00
Work around kaniko issue
This commit is contained in:
parent
d493eb3ecd
commit
d9b7a12534
1 changed files with 3 additions and 1 deletions
|
|
@ -1,9 +1,11 @@
|
|||
FROM gcr.io/kaniko-project/executor:v1.7.0-debug AS kaniko-src
|
||||
|
||||
RUN cp -r /kaniko /kaniko-dist
|
||||
|
||||
FROM alpine/git
|
||||
|
||||
# See https://github.com/GoogleContainerTools/kaniko/blob/master/deploy/Dockerfile#L65-L70
|
||||
COPY --from=kaniko-src /kaniko/ /kaniko/
|
||||
COPY --from=kaniko-src /kaniko-dist/ /kaniko/
|
||||
COPY --from=kaniko-src /etc/nsswitch.conf /etc/nsswitch.conf
|
||||
|
||||
ENV HOME /root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue