Origin image was creating a file at /usr/local/bin with imagebuilder
Made more specific, filed a bug in imagebuilder.
#
FROM openshift/origin-base
+COPY system-container/system-container-wrapper.sh /usr/local/bin/
+COPY system-container/config.json.template system-container/manifest.json system-container/service.template /exports/
COPY bin/openshift /usr/bin/openshift
RUN ln -s /usr/bin/openshift /usr/bin/oc && \
ln -s /usr/bin/openshift /usr/bin/oadm && \
@@ -31,8 +33,4 @@ ENV HOME=/root \
WORKDIR /var/lib/origin
EXPOSE 8443 53
-# files required to run as a system container
-COPY system-container/system-container-wrapper.sh /usr/local/bin
-COPY system-container/config.json.template system-container/manifest.json system-container/service.template /exports/
-
ENTRYPOINT ["/usr/bin/openshift"]
