go-skype-bridge/Dockerfile.debug

15 lines
342 B
Docker
Raw Normal View History

2024-03-24 14:03:58 +02:00
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"]