Skip to content

Commit

Permalink
Fix image builds; properly add kustomize to the image context (#100)
Browse files Browse the repository at this point in the history
* Fix #99 
* kustomize should be pulled from its docker image and added to the
context but there is a bug in our images.yaml and we aren't specifying
the correct path of the kustomize binary in the image.
  • Loading branch information
jlewi authored May 3, 2024
1 parent 17f35bb commit 1b2bfa7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ WORKDIR /workspace/

COPY . /workspace

RUN wget -O kustomize.tar.gz https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.4.1/kustomize_v5.4.1_linux_amd64.tar.gz && \
tar -xzvf kustomize.tar.gz \

## Build
# N.B Disabling CGO can potentially cause problems on MacOSX and darwin builds because some networking requires
# it https://github.com/golang/go/issues/16345. We use to build with CGO_ENABLED=- to disable it at Primer
Expand Down

0 comments on commit 1b2bfa7

Please sign in to comment.