-
Notifications
You must be signed in to change notification settings - Fork 174
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
Python runtime images share same structure as build image #151
Conversation
gpcastro
commented
May 17, 2019
- Unify our python images so the binaries are located in the same place both at build and runtime
- Migrate Python base images to stretch, also for consistency
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.
Could you kick off a nightly too?
@@ -228,8 +228,8 @@ RUN apt-get update \ | |||
# https://github.com/docker-library/python/issues/147 | |||
ENV PYTHONIOENCODING UTF-8 | |||
COPY build/__python-versions.sh /tmp | |||
COPY --from=mcr.microsoft.com/oryx/python-build-2.7:20190322.1 /opt /opt | |||
COPY --from=mcr.microsoft.com/oryx/python-build-3.6:20190322.1 /opt /opt | |||
COPY --from=mcr.microsoft.com/oryx/python-build-2.7:20190402.1 /opt /opt |
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.
note: we need to change this again soon something like mcr.microsoft.com/oryx/python-build:2.7-20190402.1
ENV PYTHON_VERSION %PYTHON_FULL_VERSION% | ||
|
||
# Add python binaries from Oryx base image | ||
COPY --from=mcr.microsoft.com/oryx/python-build-%PYTHON_VERSION%:%IMAGE_TAG% /opt /opt |
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.
same comment