Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
# Based on old ubuntu to create more compatible binaries
# Based on manylinux_2_28 (AlmaLinux 8, GLIBC 2.28) for maximum HPC compatibility
# Binaries built here will run on RHEL/Rocky/Alma 8+, Ubuntu 20.04+, and most HPC clusters

# To build (e.g. for ShapeWorks 6.7):
# docker build --progress=plain -t akenmorris/ubuntu-build-box-jammy-sw67 .
# docker build --progress=plain -t akenmorris/manylinux-build-box-sw67 .
# To publish:
# docker push akenmorris/ubuntu-build-box-jammy-sw67
# docker push akenmorris/manylinux-build-box-sw67

FROM ubuntu:jammy-20250819 AS env
FROM quay.io/pypa/manylinux_2_28_x86_64 AS env
MAINTAINER akenmorris@gmail.com

# Set environment variables
ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
# Enable PowerTools repo for additional development packages
RUN dnf install -y dnf-plugins-core && dnf config-manager --set-enabled powertools

# Update
RUN apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install build-essential software-properties-common -y && add-apt-repository ppa:ubuntu-toolchain-r/test -y && apt-get update -y
# Update and install build tools
RUN dnf update -y && dnf groupinstall -y "Development Tools"

# Install git and git-lfs
RUN add-apt-repository ppa:git-core/ppa
RUN apt-get update
RUN apt-get install git curl -y
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
RUN apt-get install git-lfs -y
RUN dnf install -y git curl
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | bash
RUN dnf install -y git-lfs

# Install other dependencies
RUN apt-get install rsync freeglut3-dev libgl1-mesa-dev libegl1-mesa zip libcups2 pigz wget ccache -y
RUN dnf install -y rsync freeglut-devel mesa-libGL-devel mesa-libEGL-devel zip cups-libs pigz wget ccache

# Install conda
RUN curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o /tmp/Miniconda3-latest-Linux-x86_64.sh \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-linux-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
build:

runs-on: ubuntu-latest
container: akenmorris/ubuntu-build-box-jammy-sw67
container: akenmorris/manylinux-build-box-sw67

steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build:

runs-on: ubuntu-latest
container: akenmorris/ubuntu-build-box-jammy-sw67
container: akenmorris/manylinux-build-box-sw67

steps:

Expand Down
Loading