Skip to content
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

Move from psycopg2 to psycopg2-binary to use manylinux wheels #157

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

frenzymadness
Copy link
Member

For more details, see psycopg/psycopg2#674

Cc: @phracek

@phracek
Copy link
Member

phracek commented Aug 5, 2020

It looks good.

Cloning "https://github.com/frenzymadness/django-ex" ...
	Commit:	6381ce544eed284dc655e6868ff3918c72812b77 (Move from psycopg2 to psycopg2-binary to use manylinux wheels)
	Author:	Lumir Balhar <lbalhar@redhat.com>
	Date:	Tue Aug 4 12:57:06 2020 +0200
Caching blobs under "/var/cache/blobs".
Getting image source signatures
Copying blob sha256:fc5b206e9329a1674dd9e8efbee45c9be28d0d0dcbabba3c6bb67a2f22cfcf2a
Copying blob sha256:9e7a6dc796f0a75c560158a9f9e30fb8b5a90cb53edce9ffbdf5778406e4de39
Copying blob sha256:e7021e0589e97471d99c4265b7c8e64da328e48f116b5f260353b2e0a2adb373
Copying blob sha256:c9ae4966e1018b89a5d0bd37ef429bb5a893e52cfff040a40e325be5117620c1
Copying blob sha256:9d3845445f8e6780fd25257cd0fffae70e1031de2cd8e306718c11150b73c213
Copying config sha256:404af2cfb3cc68504025fab43e480d06a64370f9399f44431f73df3fc842f62f
Writing manifest to image destination
Storing signatures
Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:f49e1f9d577dd3da34a1273e46fe8539274648d27851c41da47642f539148043
STEP 1: FROM image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:f49e1f9d577dd3da34a1273e46fe8539274648d27851c41da47642f539148043
STEP 2: LABEL "io.openshift.build.commit.date"="Tue Aug 4 12:57:06 2020 +0200"       "io.openshift.build.commit.id"="6381ce544eed284dc655e6868ff3918c72812b77"       "io.openshift.build.commit.ref"="psycopg2-wheels-2"       "io.openshift.build.commit.message"="Move from psycopg2 to psycopg2-binary to use manylinux wheels"       "io.openshift.build.source-location"="https://github.com/frenzymadness/django-ex"       "io.openshift.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:f49e1f9d577dd3da34a1273e46fe8539274648d27851c41da47642f539148043"       "io.openshift.build.commit.author"="Lumir Balhar <lbalhar@redhat.com>"
STEP 3: ENV OPENSHIFT_BUILD_NAME="django-ex-1"     OPENSHIFT_BUILD_NAMESPACE="default"     OPENSHIFT_BUILD_SOURCE="https://github.com/frenzymadness/django-ex"     OPENSHIFT_BUILD_REFERENCE="psycopg2-wheels-2"     OPENSHIFT_BUILD_COMMIT="6381ce544eed284dc655e6868ff3918c72812b77"
STEP 4: USER root
STEP 5: COPY upload/src /tmp/src
STEP 6: RUN chown -R 1001:0 /tmp/src
STEP 7: USER 1001
STEP 8: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Upgrading pip to version 19.3.1 ...
Collecting pip==19.3.1
  Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
  Found existing installation: pip 9.0.1
    Uninstalling pip-9.0.1:
      Successfully uninstalled pip-9.0.1
Successfully installed pip-19.3.1
---> Installing dependencies ...
Collecting Django<3.0,>=2.2.12
  Downloading https://files.pythonhosted.org/packages/3a/5a/9e3cffed37fa9a277c04377b71b9038c270c2677c86cf406f803df89038f/Django-2.2.15-py3-none-any.whl (7.5MB)
Collecting django-debug-toolbar==2.2
  Downloading https://files.pythonhosted.org/packages/2c/73/45de34aa56facb61bca5458efda75bcd09730a3beea747a7f51ace945375/django_debug_toolbar-2.2-py3-none-any.whl (198kB)
Collecting gunicorn==20.0.4
  Downloading https://files.pythonhosted.org/packages/69/ca/926f7cd3a2014b16870086b2d0fdc84a9e49473c68a8dff8b57f7c156f43/gunicorn-20.0.4-py2.py3-none-any.whl (77kB)
Collecting psycopg2-binary==2.8.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants