forked from dials/dials
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into spot_finding_f_strings
- Loading branch information
Showing
367 changed files
with
5,012 additions
and
1,909 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
# Build dials | ||
FROM centos:7 as builder | ||
FROM rockylinux:9 as builder | ||
|
||
RUN yum install -y git | ||
RUN dnf install -y 'dnf-command(config-manager)' && \ | ||
dnf config-manager --enable crb && \ | ||
dnf install -y git python3 mesa-libGL-devel ninja-build | ||
WORKDIR /dials | ||
COPY installer/bootstrap.py . | ||
RUN python bootstrap.py | ||
ENV PIP_ROOT_USER_ACTION=ignore | ||
ENV CMAKE_GENERATOR=Ninja | ||
RUN python3 bootstrap.py --cmake | ||
RUN /dials/conda_base/bin/cmake --install build | ||
RUN /dials/conda_base/bin/python3 -mpip install modules/dxtbx modules/dials modules/xia2 | ||
|
||
# Copy to final image | ||
FROM centos:7 | ||
COPY ./docker-entrypoint.sh . | ||
COPY --from=builder /dials /dials | ||
RUN chmod 0755 /docker-entrypoint.sh | ||
FROM rockylinux:9 | ||
RUN dnf install -y glibc-locale-source | ||
RUN localedef -i en_US -f UTF-8 en_US.UTF-8 | ||
RUN echo "LANG=\"en_US.UTF-8\"" > /etc/locale.conf | ||
ENV LANG en_US.UTF-8 | ||
|
||
ENTRYPOINT ["/docker-entrypoint.sh"] | ||
CMD ["dials.version"] | ||
RUN mkdir /dials | ||
COPY --from=builder /dials/conda_base /dials/conda_base | ||
COPY --from=builder /dials/dials /dials | ||
ENV PATH="/dials/conda_base/bin:$PATH" | ||
CMD ["dials.version"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.