You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
369 B
14 lines
369 B
FROM golang:alpine AS builder
|
|
|
|
RUN apk --update add git g++ && \
|
|
git clone --depth=1 --single-branch https://github.com/kiwiirc/webircgateway.git && \
|
|
cd webircgateway && \
|
|
go build
|
|
|
|
FROM golang:alpine AS webircgateway
|
|
|
|
COPY --from=builder /go/webircgateway/webircgateway /app/webircgateway
|
|
|
|
WORKDIR /app
|
|
|
|
CMD ["./webircgateway", "--config=config.conf"]
|
|
|