mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-11 18:32:08 +08:00
15 lines
296 B
Text
15 lines
296 B
Text
|
#first stage - builder
|
||
|
FROM alpine:3.15.2
|
||
|
ARG version
|
||
|
WORKDIR /app
|
||
|
COPY ./netmaker /root/netmaker
|
||
|
ENV GO111MODULE=auto
|
||
|
|
||
|
# add a c lib
|
||
|
RUN apk add gcompat iptables wireguard-tools
|
||
|
# set the working directory
|
||
|
WORKDIR /root/
|
||
|
RUN mkdir -p /etc/netclient/config
|
||
|
EXPOSE 8081
|
||
|
ENTRYPOINT ["./netmaker"]
|