Skip to content

Commit

Permalink
use go image to build dwarf2json
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Arcuri committed Aug 7, 2024
1 parent b8e506b commit f299ac2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions compose/local/django/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ RUN apt-get update \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/*

FROM base-builder as go-builder
FROM golang:alpine3.20 as go-builder
RUN apk add git
WORKDIR /
RUN curl https://dl.google.com/go/go1.22.0.linux-amd64.tar.gz --output go1.22.0.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
RUN git clone https://github.com/volatilityfoundation/dwarf2json.git
WORKDIR /dwarf2json
RUN /usr/local/go/bin/go build
Expand Down

0 comments on commit f299ac2

Please sign in to comment.