File tree Expand file tree Collapse file tree 9 files changed +15
-15
lines changed Expand file tree Collapse file tree 9 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 88- commands :
99 - uname -a
1010 - make test
11- image : pyroscope/rust_builder_cli:2
11+ image : pyroscope/rust_builder_cli:3
1212 name : make cli/test
1313trigger :
1414 event :
2424- commands :
2525 - uname -a
2626 - make test
27- image : pyroscope/rust_builder_cli:2
27+ image : pyroscope/rust_builder_cli:3
2828 name : make cli/test
2929trigger :
3030 event :
Original file line number Diff line number Diff line change 1- FROM pyroscope/rust_builder_cli:2 as builder
1+ FROM pyroscope/rust_builder_cli:3 as builder
22
33WORKDIR /app
44ADD pyroscope_backends ./pyroscope_backends
@@ -17,4 +17,4 @@ FROM scratch as final
1717
1818COPY --from=builder /app/pyroscope_cli/target/release/pyroscope-cli /pyroscope-cli
1919
20- ENTRYPOINT ["/pyroscope-cli"]
20+ ENTRYPOINT ["/pyroscope-cli"]
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN case "${TARGETPLATFORM}" in \
2020RUN source ./.env && \
2121 wget https://static.rust-lang.org/rustup/dist/${RUST_TARGET}/rustup-init && \
2222 chmod +x rustup-init && \
23- ./rustup-init -y --default-toolchain=1.64 .0 --default-host=${RUST_TARGET}
23+ ./rustup-init -y --default-toolchain=1.76 .0 --default-host=${RUST_TARGET}
2424ENV PATH=/root/.cargo/bin:$PATH
2525
2626
@@ -34,9 +34,9 @@ RUN source ./.env && \
3434 make install
3535
3636RUN source ./.env && \
37- wget https://zlib.net/zlib-1.2.13 .tar.gz && \
38- tar -zxvf zlib-1.2.13 .tar.gz && \
39- cd zlib-1.2.13 && \
37+ wget https://zlib.net/zlib-1.3.1 .tar.gz && \
38+ tar -zxvf zlib-1.3.1 .tar.gz && \
39+ cd zlib-1.3.1 && \
4040 ./configure --prefix=/usr/local/musl/${RUST_TARGET} && \
4141 make -j16 && \
4242 make install
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM --platform=linux/aarch64 quay.io/pypa/manylinux2014_aarch64
33
44RUN curl https://static.rust-lang.org/rustup/dist/aarch64-unknown-linux-musl/rustup-init -o ./rustup-init \
55 && chmod +x ./rustup-init \
6- && ./rustup-init -y --default-toolchain=1.64 .0 --default-host=aarch64-unknown-linux-gnu
6+ && ./rustup-init -y --default-toolchain=1.76 .0 --default-host=aarch64-unknown-linux-gnu
77ENV PATH=/root/.cargo/bin:$PATH
88RUN yum -y install gcc libffi-devel openssl-devel wget
99
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM --platform=linux/amd64 quay.io/pypa/manylinux2014_x86_64
33
44RUN curl https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-musl/rustup-init -o ./rustup-init \
55 && chmod +x ./rustup-init \
6- && ./rustup-init -y --default-toolchain=1.64 .0 --default-host=x86_64-unknown-linux-gnu
6+ && ./rustup-init -y --default-toolchain=1.76 .0 --default-host=x86_64-unknown-linux-gnu
77ENV PATH=/root/.cargo/bin:$PATH
88RUN yum -y install gcc libffi-devel openssl-devel wget
99
Original file line number Diff line number Diff line change 11PREFIX ?= pyroscope/rust_builder
2- CLI_BUILDER_VERSION ?= 2
3- MANYLINUX_VERSION ?= 3
2+ CLI_BUILDER_VERSION ?= 3
3+ MANYLINUX_VERSION ?= 4
44
55.PHONY : push_x86_64
66push_x86_64 :
Original file line number Diff line number Diff line change 3434# variable names should be passed through to the container.
3535
3636USE_CONTAINER ?= 0
37- BUILD_IMAGE_VERSION ?= 2
37+ BUILD_IMAGE_VERSION ?= 3
3838BUILD_IMAGE ?= pyroscope/rust_builder_cli:$(BUILD_IMAGE_VERSION )
3939DOCKER_OPTS ?=
4040
Original file line number Diff line number Diff line change 99
1010BUILD_DIR=" /work"
1111MANYLINUX_PREFIX=pyroscope/rust_builder
12- MANYLINUX_VERSION=3
12+ MANYLINUX_VERSION=4
1313
1414docker run \
1515 -w /work/pyroscope_ffi/python \
Original file line number Diff line number Diff line change 99
1010BUILD_DIR=" /work"
1111MANYLINUX_PREFIX=pyroscope/rust_builder
12- MANYLINUX_VERSION=3
12+ MANYLINUX_VERSION=4
1313
1414docker run \
1515 -w /work/pyroscope_ffi/ruby/elflib/rbspy \
You can’t perform that action at this time.
0 commit comments