eug48 / fhir

FHIR Server using MongoDB and Go - now with proper transactions support! Aims to start quickly, have modest resource requirements and good performance.
Apache License 2.0
69 stars 16 forks source link

docker build issue #5

Closed 0xmichalis closed 5 years ago

0xmichalis commented 5 years ago

Trying to build from https://github.com/eug48/fhir/commit/a4169fadd6c21e719a2dd52da1d55846923e15f8

Step 8/13 : RUN CGO_ENABLED=0 GOOS=linux go build
 ---> Running in 6f201fc092fd
middleware/file_logger.go:15:2: build constraints exclude all Go files in /go/src/github.com/eug48/fhir/vendor/github.com/DataDog/zstd
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build' returned a non-zero code: 1
eug48 commented 5 years ago

Apologies for the delay. I assume you were using Dockerfile-with-mongo? Looks like I forgot to modify it like the main Dockerfile when adding zstd.

0xmichalis commented 5 years ago

@eug48 yeah I was using the all-in-one image. Thanks for the quick fix, works fine now!