OpTISAM (Optimized tool for inventive software asset management) is a tool for the Software Asset Management Compliance Audit and Optimization Tool. This monorepo contains all the backend services
qwerty@qwerty-mbp > pwd
/Users/qwerty/Hme/Tek/LAC/sam/optisam-backend
qwerty@qwerty-mbp > go clean -modcache && go clean -cache
qwerty@qwerty-mbp > go mod tidy
Then I tired to build the account service but it errors out on:
qwerty@qwerty-mbp > pwd
/Users/qwerty/Hme/Tek/LAC/sam/optisam-backend/account-service/cmd/server
qwerty@qwerty-mbp > docker build --pull -t optisam/account-service:latest -f Dockerfile .
Sending build context to Docker daemon 6.656kB
Step 1/6 : FROM ubuntu
latest: Pulling from library/ubuntu
Digest: sha256:5d1d5407f353843ecf8b16524bc5565aa332e9e6a1297c73a92d3e754b8a636d
Status: Image is up to date for ubuntu:latest
---> 1e4467b07108
Step 2/6 : WORKDIR /usr/local/bin
---> Using cache
---> f6df20af97be
Step 3/6 : ADD server .
ADD failed: stat /var/lib/docker/tmp/docker-builder135837665/server: no such file or directory
In order to generate the server file which the Dockerfile needs, I've tried to build the local Goloang file, like so:
qwerty@qwerty-mbp > go build
# optisam-backend/account-service/pkg/api/v1
../../pkg/api/v1/account.pb.gw.go:107:3: undefined: runtime.CamelCaseFieldMask
../../pkg/api/v1/account.pb.gw.go:109:56: not enough arguments in call to runtime.FieldMaskFromRequestBody
have (io.Reader)
want (io.Reader, *descriptorpb.DescriptorProto)
Hi - I've had to update the Go modules via
The updated modules file is:
Then I tired to build the account service but it errors out on:
In order to generate the server file which the Dockerfile needs, I've tried to build the local Goloang file, like so:
Can you offer any pointers on this?
Theo