Skip to content

Commit

Permalink
feat: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NSEcho committed Sep 9, 2024
1 parent 585d6ea commit b17e852
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG TARGETOS
ARG TARGETARCH

ENV CGO_ENABLED=1 GOOS=$TARGETOS GOARCH=$TARGETARCH \
GOV=go1.23.1 FRIDAVERSION=16.5.1
GOV=go1.23.1 FRIDAVERSION=16.5.1 FRIDAOS=$TARGETOS FRIDAARCH=$TARGETARCH

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

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

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

0 comments on commit b17e852

Please sign in to comment.