Skip to content

Commit

Permalink
Merge pull request tektoncd#249 from chmouel/fix-hack
Browse files Browse the repository at this point in the history
Fix the nop hack
  • Loading branch information
openshift-merge-robot authored Dec 4, 2019
2 parents a348f58 + 8493c5c commit 1297571
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 1297571

Please sign in to comment.