Skip to content

Commit

Permalink
Fix the nop hack
Browse files Browse the repository at this point in the history
I hate myself

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
  • Loading branch information
chmouel committed Dec 4, 2019
1 parent a348f58 commit 8493c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshift/ci-operator/tekton-images/nop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
# distroless. We want to mimic as much as possible the distroless image but
# still be based on a UBI, it's not pretty but let's hope we can remove this when
# we get https://github.com/tektoncd/pipeline/issues/1347
RUN cp /bin/true /tmp && rm -f /usr/bin/* /usr/sbin/* /bin/* /sbin/*;cp -v /tmp/true /bin/true
RUN for i in /usr/bin/* /usr/sbin/* /bin/* /sbin/*;do [[ $i == /bin/true ]] && continue;rm -v $i;done

ENTRYPOINT ["/bin/true"]

0 comments on commit 8493c5c

Please sign in to comment.