Commit f82b1cbf authored by Eric Timmons's avatar Eric Timmons
Browse files

Add a better entrypoint

parent 4fe274ab
......@@ -26,4 +26,8 @@ RUN set -x \
WORKDIR /
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT ["docker-entrypoint"]
CMD ["ccl"]
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if [ "${1#-}" != "$1" ]; then
set -- ccl "$@"
fi
exec "$@"
......@@ -26,4 +26,8 @@ RUN set -x \
WORKDIR /
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT ["docker-entrypoint"]
CMD ["ccl"]
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if [ "${1#-}" != "$1" ]; then
set -- ccl "$@"
fi
exec "$@"
......@@ -26,4 +26,8 @@ RUN set -x \
WORKDIR /
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT ["docker-entrypoint"]
CMD ["ccl"]
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if [ "${1#-}" != "$1" ]; then
set -- ccl "$@"
fi
exec "$@"
......@@ -26,4 +26,8 @@ RUN set -x \
WORKDIR /
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT ["docker-entrypoint"]
CMD ["ccl"]
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if [ "${1#-}" != "$1" ]; then
set -- ccl "$@"
fi
exec "$@"
......@@ -26,4 +26,8 @@ RUN set -x \
WORKDIR /
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT ["docker-entrypoint"]
CMD ["ccl"]
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if [ "${1#-}" != "$1" ]; then
set -- ccl "$@"
fi
exec "$@"
......@@ -26,4 +26,8 @@ RUN set -x \
WORKDIR /
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT ["docker-entrypoint"]
CMD ["ccl"]
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if [ "${1#-}" != "$1" ]; then
set -- ccl "$@"
fi
exec "$@"
......@@ -26,4 +26,8 @@ RUN set -x \
WORKDIR /
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT ["docker-entrypoint"]
CMD ["ccl"]
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if [ "${1#-}" != "$1" ]; then
set -- ccl "$@"
fi
exec "$@"
......@@ -26,4 +26,8 @@ RUN set -x \
WORKDIR /
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
ENTRYPOINT ["docker-entrypoint"]
CMD ["ccl"]
#!/bin/sh
# If the first arg starts with a hyphen, prepend ccl to arguments.
if [ "${1#-}" != "$1" ]; then
set -- ccl "$@"
fi
exec "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment