mirror of
https://github.com/jbowdre/capsule.git
synced 2024-12-26 01:52:19 +00:00
11 lines
292 B
Docker
11 lines
292 B
Docker
FROM golang:1.22 as build
|
|
WORKDIR /build
|
|
RUN git clone https://git.sr.ht/~sircmpwn/kineto
|
|
WORKDIR /build/kineto
|
|
RUN go mod download \
|
|
&& CGO_ENABLED=0 GOOS=linux go build -o kineto
|
|
|
|
FROM alpine:3.19
|
|
WORKDIR /app
|
|
COPY --from=build /build/kineto/kineto /app/kineto
|
|
ENTRYPOINT ["/app/kineto"]
|