15 lines
342 B
Docker
15 lines
342 B
Docker
FROM golang:1.22-alpine
|
|
|
|
RUN apk add --no-cache ffmpeg su-exec ca-certificates olm olm-dev bash jq yq curl git build-base
|
|
RUN go install github.com/go-delve/delve/cmd/dlv@latest
|
|
|
|
COPY . /src
|
|
WORKDIR /src
|
|
RUN go get
|
|
|
|
ENV UID=1337 \
|
|
GID=1337
|
|
|
|
CMD ["dlv", "debug", "--headless", "--listen=:2345", "--api-version=2", "--accept-multiclient"]
|
|
|