We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d6977a commit 000cd18Copy full SHA for 000cd18
Dockerfile
@@ -107,7 +107,7 @@ ENV GOBIN=/usr/local/bin
107
RUN go get durable_php
108
#RUN go test ./...
109
110
-RUN go install --tags nowatcher -ldflags "-w -s -X 'main.version=$VERSION'"
+RUN CGO_CFLAGS=$(php-config --includes) CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" go install --tags nowatcher -ldflags "-w -s -X 'main.version=$VERSION'"
111
112
FROM common AS durable-php
113
COPY --from=builder /usr/local/bin/durable_php /usr/local/bin/dphp
0 commit comments