Hi ! I am using the repo /rudderlabs/rudder-server...
# support
f
Hi ! I am using the repo /rudderlabs/rudder-server and my requirement is to create the image from Dockerfile which present with some customisation! While building the Docker image I am getting few errors which are as below -
> [builder 8/9] RUN BUILD_DATE=$(date "+%F,%T")     LDFLAGS="-s -w -X main.version=${VERSION} -X main.commit=${COMMIT_HASH} -X main.buildDate=$BUILD_DATE -X main.builtBy=${REVISION} -X main.builtBy=${REVISION} -X main.enterpriseToken=${ENTERPRISE_TOKEN} "     make build:
#20 0.815 go build  -a -installsuffix cgo -ldflags="-s -w -X main.version= -X main.commit= -X main.buildDate=2023-03-17,06:59:05 -X main.builtBy= -X main.builtBy= -X main.enterpriseToken= "
#20 3.078 app/app.go:15:2: no required module provides package github.com/rudderlabs/rudder-server/enterprise/config-env; to add it:
#20 3.078       go get github.com/rudderlabs/rudder-server/enterprise/config-env
#20 3.078 app/app.go:16:2: no required module provides package github.com/rudderlabs/rudder-server/enterprise/replay; to add it:
#20 3.078       go get github.com/rudderlabs/rudder-server/enterprise/replay
#20 3.078 app/app.go:17:2: no required module provides package github.com/rudderlabs/rudder-server/enterprise/reporting; to add it:
#20 3.078       go get github.com/rudderlabs/rudder-server/enterprise/reporting
#20 3.078 app/app.go:18:2: no required module provides package github.com/rudderlabs/rudder-server/enterprise/suppress-user; to add it:
#20 3.078       go get github.com/rudderlabs/rudder-server/enterprise/suppress-user
#20 3.098 make: *** [Makefile:47: build] Error 1
While the image which is present or pushed to the docker hub is working fine. Image link in docker hub - https://hub.docker.com/r/rudderlabs/rudder-server Can someone help me for this or can someone provide the working Dockerfile through which I can create the above image
q
Hi @famous-energy-84671 Which version from this link you are trying to use?
f
Hi Akhilesh I was using the wrong version ! It got resolved! Thanks for the update
Hi Akhilesh The docker build is working fine on my local machine but I am getting the same error mentioned above on some different machine with macOS version 13.5 and jenkins instance version (14.04 ubuntu)
@quiet-wolf-72320 - any updates for the issue ? We are currently blocked due to this
q
Did you do a comparison between both the machines and identify the differences?
f
its the OS version difference
q
It’s might be docker/OS issue. Did you get the exact above error? Can you share the error from the other machine
Did you try to add missing modules before running make build? Something like this
go get github.com/rudderlabs/rudder-server/enterprise/config-env
for each missing module
f
that was the exact error I was able to resolve the dependency and now facing this error
INFO: No .env file found.
[Config] :: Failed to parse config file from path "./config/config.yaml"
q
Hi @famous-energy-84671 As you mentioned that you are looking for a call with our team, can you fill this form to schedule a demo? https://www.rudderstack.com/request-demo/
@eager-manchester-20157 @lemon-balloon-16076 fyi..
l
Thanks @quiet-wolf-72320 for letting me know. Hey @famous-energy-84671, sent you a DM