~kt/udprelay

udprelay/Dockerfile -rw-r--r-- 288 bytes
7ef0adeaKatie Wolfe Add note about -timeout parsing specifics 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM golang:1.15-alpine AS builder

RUN apk add make git

ADD . /src
WORKDIR /src
RUN make udprelay

FROM alpine:latest
RUN apk --no-cache add ca-certificates
COPY --from=builder /src/udprelay /usr/local/bin/udprelay

WORKDIR /root
CMD ["/usr/local/bin/udprelay", "9999"]
EXPOSE 9999/udp