We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32265cd commit e4dd1c6Copy full SHA for e4dd1c6
Dockerfile
@@ -17,12 +17,13 @@
17
############################
18
FROM golang:alpine AS builder
19
20
-# Build Delve - This is helpful if you want to do remote debugging by attaching to one of the docker containers remotely
21
-RUN go get github.com/go-delve/delve/cmd/dlv
22
-
23
# Git is required for fetching the dependencies,
24
# make is required for building.
25
-RUN apk update && apk add --no-cache git make
+# build-base is needed because gcc is required by delve
+RUN apk update && apk add --no-cache git make build-base
+
+# Build Delve - This is helpful if you want to do remote debugging by attaching to one of the docker containers remotely
26
+RUN go get github.com/go-delve/delve/cmd/dlv
27
28
WORKDIR /go/src/dc-ledger
29
COPY . .
0 commit comments