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

feat: ✨ update manylinux for 3.13 support #7

Merged
merged 1 commit into from
Oct 11, 2024
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4.2.1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.7.1

- name: Set up emulation
if: matrix.platform != 'i686' && matrix.platform != 'x86_64'
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3.2.0
with:
platforms: ${{ matrix.platform }}

- name: Setup cache
if: github.event_name != 'workflow_dispatch' || fromJSON(github.event.inputs.useCache)
uses: actions/cache@v3
uses: actions/cache@v4.1.1
with:
path: .buildx-cache-${{ matrix.policy }}_${{ matrix.platform }}/*
key: buildx-cache-${{ matrix.policy }}-${{ matrix.platform }}-${{ hashFiles('Dockerfile') }}
Expand Down
3 changes: 3 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tools]
python = "3.13.0"
hadolint = "latest"
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG POLICY=manylinux2014
ARG PLATFORM=x86_64
ARG TAG=2024-01-08-eb135ed
ARG TAG=2024-10-07-1887322

ARG DEVTOOLSET_ROOTPATH=/opt/rh/gcc-toolset-12/root
ARG LD_LIBRARY_PATH_ARG=${DEVTOOLSET_ROOTPATH}/usr/lib64:${DEVTOOLSET_ROOTPATH}/usr/lib:${DEVTOOLSET_ROOTPATH}/usr/lib64/dyninst:${DEVTOOLSET_ROOTPATH}/usr/lib/dyninst
Expand All @@ -26,7 +26,7 @@ RUN wget -qO- https://www.colm.net/files/ragel/ragel-${ragel_version}.tar.gz | t
WORKDIR /tmp/ragel-${ragel_version}
RUN ./configure --prefix=/usr && make -j$(nproc) && make install

FROM base_ragel as base_vectorscan
FROM base_ragel AS base_vectorscan
ARG boost_version
ARG hyperscan_git_source
ARG hyperscan_git_tag
Expand All @@ -35,7 +35,7 @@ RUN git clone -b ${hyperscan_git_tag} ${hyperscan_git_source}
RUN wget -qO- http://downloads.sourceforge.net/project/boost/boost/${boost_version}/boost_$(echo "${boost_version}" | tr . _).tar.bz2 | tar xj
RUN mv boost*/boost vectorscan/include

FROM base_vectorscan as build_pcre
FROM base_vectorscan AS build_pcre
ARG pcre_version
ENV CFLAGS="-fPIC"
WORKDIR /tmp/vectorscan
Expand Down Expand Up @@ -72,7 +72,7 @@ RUN make -j$(nproc) && make install

FROM base
LABEL maintainer="David Gidwani <[email protected]>"
LABEL org.opencontainers.image.description Python manylinux with Intel Vectorscan
LABEL org.opencontainers.image.description Python manylinux with Vectorscan
ARG LD_LIBRARY_PATH_ARG
ARG PREPEND_PATH
ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH_ARG}
Expand Down