forked from extern/smegmesh
12 lines
257 B
Docker
12 lines
257 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 ./... |