-
Notifications
You must be signed in to change notification settings - Fork 2k
Added an entrypoint script #1043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
da595e4
to
98579fb
Compare
10/jessie/Dockerfile
Outdated
@@ -61,4 +61,8 @@ RUN set -ex \ | |||
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ | |||
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz | |||
|
|||
COPY docker-entrypoint.sh /usr/local/bin/ | |||
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've never had an entrypoint before so this symlink is unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AAh, I wasn't sure if it was compatibility with older versions of docker. Good to know!
f2032c3
to
b3052a9
Compare
b3052a9
to
7e47b37
Compare
@PeterDaveHello @chorrell any issue with this? |
LGTM. |
Created PR to the official-images repo (docker-library/official-images#6021) |
For others who were relying on the old behavior with the implicit ENTRYPOINT [] |
@sloria yikes sorry. I didn't know about that use case. |
Making breaking changes to docker images between 10.15 and 10.16 seems a bit wrong. This hit us, @sloria's suggestion will help (as would changing CMD to remove node) but it still feels wrong. |
Fixes #1039