Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit da7c380

Browse files
Add strace 6.1
1 parent 41b3eb6 commit da7c380

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

‎Dockerfile.strace-6.1‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
ARG MUSL_TARGET=x86_64-linux-musl
2+
FROM musl-cross-make-$MUSL_TARGET
3+
ARG MUSL_TARGET
4+
5+
WORKDIR /build
6+
RUN download https://github.com/strace/strace/releases/download/v6.1/strace-6.1.tar.xz source.tar.xz 2579e9cec37dbb786f6ea0bebd15f40dd561ef2bde2a2a2ecdce5963b01859fd && tar xf source.tar.xz
7+
RUN export PATH=/build/cross/bin:$PATH && \
8+
cd strace-* && \
9+
DEBIAN_FRONTEND=noninteractive apt install -y gawk && \
10+
CC="$MUSL_TARGET-gcc" \
11+
CFLAGS="-static -frandom-seed=pulse" \
12+
./configure \
13+
--prefix=/output \
14+
--disable-mpers \
15+
--host=$($MUSL_TARGET-gcc -dumpmachine) && \
16+
make -j$(nproc) && \
17+
make install && \
18+
$MUSL_TARGET-strip /output/bin/strace
19+
20+
CMD bash

‎Makefile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ busybox-1.33.1: musl-cross-make
102102
$(DOCKER_BUILD)
103103
$(GRABBY_HANDS) /output/bin/busybox /grabby/$@
104104

105+
strace-6.1: musl-cross-make
106+
$(DOCKER_BUILD)
107+
$(GRABBY_HANDS) /output/bin/strace /grabby/$@
108+
105109
openssh-8.8p1: openssl-1.1.1k zlib-1.2.11
106110
$(DOCKER_BUILD)
107111
$(GRABBY_HANDS) /output/bin/ssh /grabby/ssh-8.8p1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /