Closed cxgreat2014 closed 4 years ago
please self build v2gen with command
CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' .
and that works to me
richard ~> docker build .
Sending build context to Docker daemon 22.51MB
Step 1/4 : FROM alpine
---> f70734b6a266
Step 2/4 : RUN apk update && apk add bash wget curl
---> Using cache
---> a02c586c9d5d
Step 3/4 : COPY v2gen /bin
---> Using cache
---> d5a22d1fed32
Step 4/4 : ENTRYPOINT ["v2gen","-h"]
---> Using cache
---> 9d49661dd3f1
Successfully built 9d49661ddd01
richard ~> docker run 9d49661ddd01
Usage of v2gen:
...
reference: https://github.com/ArkArk/latexmk-docker/issues/1#issuecomment-564627006
No matter what command it is, it cannot be executed.