Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Make Dockerfile.manylinux as default Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jfResearchEng committed Aug 14, 2021
1 parent 14fed05 commit 2a79882
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
23 changes: 22 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# Copyright 2004-present Facebook. All Rights Reserved.

FROM centos:8
FROM quay.io/pypa/manylinux2014_x86_64

# Install Python, Java, wget, vim
RUN yum group install -y "Development Tools"
Expand Down Expand Up @@ -41,4 +41,25 @@ RUN chmod 2777 /usr/local/var/run/watchman
# Copy LabGraph files
WORKDIR "/opt/labgraph"
COPY . .

# Install LabGraph
RUN python3.6 setup.py install --user

# Build LabGraph Wheel
RUN python3.6 setup.py sdist bdist_wheel
RUN python3.6 -m pip install auditwheel
RUN auditwheel repair dist/*whl -w dist/

# Test LabGraph
RUN python3.6 -m pytest --pyargs -v labgraph._cthulhu
RUN python3.6 -m pytest --pyargs -v labgraph.events
RUN python3.6 -m pytest --pyargs -v labgraph.graphs
RUN python3.6 -m pytest --pyargs -v labgraph.loggers
RUN python3.6 -m pytest --pyargs -v labgraph.messages
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_process_manager
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_aligner
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_cpp
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_exception
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_launch
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_runner
RUN python3.6 -m pytest --pyargs -v labgraph.zmq_node
23 changes: 1 addition & 22 deletions Dockerfile.manylinux → Dockerfile.Centos
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# Copyright 2004-present Facebook. All Rights Reserved.

FROM quay.io/pypa/manylinux2014_x86_64
FROM centos:8

# Install Python, Java, wget, vim
RUN yum group install -y "Development Tools"
Expand Down Expand Up @@ -41,25 +41,4 @@ RUN chmod 2777 /usr/local/var/run/watchman
# Copy LabGraph files
WORKDIR "/opt/labgraph"
COPY . .

# Install LabGraph
RUN python3.6 setup.py install --user

# Build LabGraph Wheel
RUN python3.6 setup.py sdist bdist_wheel
RUN python3.6 -m pip install auditwheel
RUN auditwheel repair dist/*whl -w dist/

# Test LabGraph
RUN python3.6 -m pytest --pyargs -v labgraph._cthulhu
RUN python3.6 -m pytest --pyargs -v labgraph.events
RUN python3.6 -m pytest --pyargs -v labgraph.graphs
RUN python3.6 -m pytest --pyargs -v labgraph.loggers
RUN python3.6 -m pytest --pyargs -v labgraph.messages
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_process_manager
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_aligner
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_cpp
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_exception
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_launch
RUN python3.6 -m pytest --pyargs -v labgraph.runners.tests.test_runner
RUN python3.6 -m pytest --pyargs -v labgraph.zmq_node

0 comments on commit 2a79882

Please sign in to comment.