forked from extern/smegmesh
13 lines
258 B
Docker
13 lines
258 B
Docker
FROM docker.io/library/golang:bookworm
|
|
COPY ./ /wgmesh
|
|
RUN apt-get update && apt-get install -y \
|
|
wireguard \
|
|
wireguard-tools \
|
|
iproute2 \
|
|
iputils-ping \
|
|
tmux \
|
|
vim
|
|
WORKDIR /wgmesh
|
|
RUN go mod tidy
|
|
RUN go build -o /usr/local/bin ./...
|