File tree Expand file tree Collapse file tree 19 files changed +114
-0
lines changed Expand file tree Collapse file tree 19 files changed +114
-0
lines changed Original file line number Diff line number Diff line change @@ -68,4 +68,10 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
68
68
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
69
69
&& apk del .build-deps-yarn
70
70
71
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
72
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
73
+ && ln -s usr/local/bin/docker-entrypoint.sh /
74
+
75
+ ENTRYPOINT ["docker-entrypoint.sh" ]
76
+
71
77
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -64,4 +64,10 @@ RUN set -ex \
64
64
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
65
65
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz
66
66
67
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
68
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
69
+ && ln -s usr/local/bin/docker-entrypoint.sh /
70
+
71
+ ENTRYPOINT ["docker-entrypoint.sh" ]
72
+
67
73
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -61,4 +61,10 @@ RUN set -ex \
61
61
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
62
62
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz
63
63
64
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
65
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
66
+ && ln -s usr/local/bin/docker-entrypoint.sh /
67
+
68
+ ENTRYPOINT ["docker-entrypoint.sh" ]
69
+
64
70
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -64,4 +64,10 @@ RUN set -ex \
64
64
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
65
65
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz
66
66
67
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
68
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
69
+ && ln -s usr/local/bin/docker-entrypoint.sh /
70
+
71
+ ENTRYPOINT ["docker-entrypoint.sh" ]
72
+
67
73
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -61,4 +61,10 @@ RUN set -ex \
61
61
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
62
62
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz
63
63
64
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
65
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
66
+ && ln -s usr/local/bin/docker-entrypoint.sh /
67
+
68
+ ENTRYPOINT ["docker-entrypoint.sh" ]
69
+
64
70
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -68,4 +68,10 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
68
68
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
69
69
&& apk del .build-deps-yarn
70
70
71
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
72
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
73
+ && ln -s usr/local/bin/docker-entrypoint.sh /
74
+
75
+ ENTRYPOINT ["docker-entrypoint.sh" ]
76
+
71
77
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -64,4 +64,10 @@ RUN set -ex \
64
64
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
65
65
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz
66
66
67
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
68
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
69
+ && ln -s usr/local/bin/docker-entrypoint.sh /
70
+
71
+ ENTRYPOINT ["docker-entrypoint.sh" ]
72
+
67
73
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -61,4 +61,10 @@ RUN set -ex \
61
61
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
62
62
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz
63
63
64
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
65
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
66
+ && ln -s usr/local/bin/docker-entrypoint.sh /
67
+
68
+ ENTRYPOINT ["docker-entrypoint.sh" ]
69
+
64
70
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -68,4 +68,10 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
68
68
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
69
69
&& apk del .build-deps-yarn
70
70
71
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
72
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
73
+ && ln -s usr/local/bin/docker-entrypoint.sh /
74
+
75
+ ENTRYPOINT ["docker-entrypoint.sh" ]
76
+
71
77
CMD [ "node" ]
Original file line number Diff line number Diff line change @@ -64,4 +64,10 @@ RUN set -ex \
64
64
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
65
65
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz
66
66
67
+ RUN printf '#!/bin/sh\n set -e\n\n if [ "${1#-}" != "$1" ] || [ -z "$(which $1)" ]; then\n set -- node "$@"\n fi\n\n exec "$@"' > /usr/local/bin/docker-entrypoint.sh \
68
+ && cmod +x /usr/local/bin/docker-entrypoint.sh \
69
+ && ln -s usr/local/bin/docker-entrypoint.sh /
70
+
71
+ ENTRYPOINT ["docker-entrypoint.sh" ]
72
+
67
73
CMD [ "node" ]
You can’t perform that action at this time.
0 commit comments