Skip to content

Commit

Permalink
Dockerfile: don't delete /go
Browse files Browse the repository at this point in the history
We're creating `/go` and then deleting it later on, which doesn't make
sense. Stop deleting it to fix the use case of Prow using the cosa image
as a buildroot.
  • Loading branch information
jlebon committed Nov 20, 2024
1 parent 946d66f commit dcd60cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN ./build.sh patch_osbuild
# clean up scripts (it will get cached in layers, but oh well)
WORKDIR /srv/
RUN chown builder: /srv
RUN rm -rf /root/containerbuild /go
RUN rm -rf /root/containerbuild

# allow writing to /etc/passwd from arbitrary UID
# https://docs.openshift.com/container-platform/4.8/openshift_images/create-images.html
Expand Down

0 comments on commit dcd60cf

Please sign in to comment.