Skip to content

Commit

Permalink
added targetos and targetarch as args
Browse files Browse the repository at this point in the history
  • Loading branch information
mosajjal committed Feb 3, 2025
1 parent 2d78412 commit 1b42009
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} alpine:edge
LABEL maintainer="Ali Mosajjal <[email protected]>"

ARG TARGETOS
ARG TARGETARCH

ENV REPO="github.com/mosajjal/dnsmonster"

RUN apk add --no-cache libcap-static libpcap-dev linux-headers git go file --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/
Expand Down

0 comments on commit 1b42009

Please sign in to comment.