Skip to content

Commit b17e852

Browse files
committed
feat: update Dockerfile
1 parent 585d6ea commit b17e852

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG TARGETOS
77
ARG TARGETARCH
88

99
ENV CGO_ENABLED=1 GOOS=$TARGETOS GOARCH=$TARGETARCH \
10-
GOV=go1.23.1 FRIDAVERSION=16.5.1
10+
GOV=go1.23.1 FRIDAVERSION=16.5.1 FRIDAOS=$TARGETOS FRIDAARCH=$TARGETARCH
1111

1212
RUN apt-get update \
1313
&& apt-get install -y wget xz-utils gcc
@@ -17,7 +17,7 @@ RUN wget https://go.dev/dl/$GOV.$TARGETOS-$TARGETARCH.tar.gz \
1717
&& tar -C /usr/local -xzf $GOV.$TARGETOS-$TARGETARCH.tar.gz
1818

1919
RUN mkdir /tmp/frida-core-devkit && cd /tmp/frida-core-devkit \
20-
&& wget https://github.com/frida/frida/releases/download/16.5.1/frida-core-devkit-16.5.1-linux-x86_64.tar.xz -O - \
20+
&& wget https://github.com/frida/frida/releases/download/$FRIDAVERSION/frida-core-devkit-$FRIDAVERSION-$FRIDAOS-$FRIDAARCH.tar.xz -O - \
2121
| tar --extract --xz
2222

2323
RUN cp /tmp/frida-core-devkit/libfrida-core.a /usr/local/lib \

0 commit comments

Comments
 (0)