smegmesh/Containerfile

13 lines
258 B
Plaintext
Raw Permalink Normal View History

2023-11-08 10:19:24 +01:00
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
2023-11-22 13:45:01 +01:00
RUN go mod tidy
2023-11-08 10:19:24 +01:00
RUN go build -o /usr/local/bin ./...