Skip to content

Commit dcd60cf

Browse files
committed
Dockerfile: don't delete /go
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.
1 parent 946d66f commit dcd60cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN ./build.sh patch_osbuild
2828
# clean up scripts (it will get cached in layers, but oh well)
2929
WORKDIR /srv/
3030
RUN chown builder: /srv
31-
RUN rm -rf /root/containerbuild /go
31+
RUN rm -rf /root/containerbuild
3232

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

0 commit comments

Comments
 (0)