Skip to content

Commit

Permalink
docker: add dockerfile to create container for vyos
Browse files Browse the repository at this point in the history
Signed-off-by: Date Huang <[email protected]>
  • Loading branch information
tjjh89017 committed Sep 17, 2024
1 parent 06710b2 commit bb9fe54
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM golang:1.22 as builder

COPY . /work
WORKDIR /work

RUN go build -v -o stunmesh

FROM scratch

WORKDIR /
copy --from=builder /work/stunmesh .

CMD ["/stunmesh"]

0 comments on commit bb9fe54

Please sign in to comment.