File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 11ARG REGISTRY="docker.io"
2+ FROM ${REGISTRY}/golang:latest AS go
3+ RUN git clone --depth 1 https://github.com/volatilityfoundation/dwarf2json.git \
4+ && cd dwarf2json \
5+ && go build
6+
27FROM ${REGISTRY}/ubuntu:22.04 AS base
38RUN apt-get update && apt-get -y install \
49 build-essential git wget libncurses-dev bc curl \
@@ -9,6 +14,7 @@ RUN apt-get update && apt-get -y install \
914RUN wget https://github.com/volatilityfoundation/dwarf2json/releases/download/v0.9.0/dwarf2json-linux-amd64 -O /bin/dwarf2json && \
1015 chmod +x /bin/dwarf2json
1116RUN mkdir -p /opt/cross && echo '#!/bin/sh' > /opt/cross/setup-cross.sh && chmod +x /opt/cross/setup-cross.sh
17+ COPY --from=go /go/dwarf2json/dwarf2json /bin/dwarf2json
1218
1319# i686
1420FROM base AS i686
You can’t perform that action at this time.
0 commit comments