Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Dockerfile.arm32v6 - github.com/mumble-voip/grumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a32951a8be9571f3740626b901cf02a7dd2099f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM arm32v6/golang:1.14-alpine as builder

COPY . /go/src/mumble.info/grumble

WORKDIR /go/src/mumble.info/grumble

RUN apk add --no-cache git build-base

RUN go get -v -t ./... \
  && go build mumble.info/grumble/cmd/grumble \
  && go test -v ./...

FROM arm32v6/alpine:edge

COPY --from=builder /go/bin/grumble /usr/bin/grumble

ENV DATADIR /data

RUN mkdir /data

WORKDIR /data

VOLUME /data

EXPOSE 64738/tcp
EXPOSE 64738/udp

ENTRYPOINT [ "/usr/bin/grumble", "--datadir", "/data", "--log", "/data/grumble.log" ]