Skip to content

Can't replicate usage #4

Description

@Oxyrus

Hello!

I've tried playing around with your project, however, after following the instructions in the README file, I can't get it to run.

After running $ vgo mod -vendor, this is the output in the console: https://gist.github.com/Oxyrus/82e1111479f757d954a3e3121bfe1d07

And once I run $ docker-compose up -d --build this is the output/error:

Building account_db
Step 1/3 : FROM postgres:10.3
 ---> b5ed9a4ab65b
Step 2/3 : COPY up.sql /docker-entrypoint-initdb.d/1.sql
 ---> Using cache
 ---> ade6d4dab6a2
Step 3/3 : CMD ["postgres"]
 ---> Using cache
 ---> 18ec8160de75

Successfully built 18ec8160de75
Successfully tagged spidey_account_db:latest
Building account
Step 1/11 : FROM golang:1.10.2-alpine3.7 AS build
 ---> 44ccce322b34
Step 2/11 : RUN apk --no-cache add gcc g++ make ca-certificates
 ---> Using cache
 ---> dab491024018
Step 3/11 : WORKDIR /go/src/github.com/tinrab/spidey/account
 ---> Using cache
 ---> d8621f59b3f2
Step 4/11 : COPY vendor ../vendor
ERROR: Service 'account' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder453847030/vendor: no such file or directory

My Go version is 1.10.3, I wonder if this is related to vgo because I've never used it before. Thanks a lot for any help provided!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions