Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

sudo make migrate-up fails in pq/notify.go #117

@douglaslamb

Description

@douglaslamb

I am getting the following error when I run sudo make migrate-up. Thank you for writing Watson. It's great.

Debian 10.4 buster
Docker 19.03.12
Digital Ocean

Sincerely

~/crick/api$ sudo make migrate-up
docker-compose -p crick -f docker-compose.yml -f docker-compose.tools.yml run --rm migrate up
Starting crick_db_1 ... done
Building migrate
Step 1/5 : FROM golang:1.8-alpine
 ---> 4cb86d3661bf
Step 2/5 : MAINTAINER William Durand <[email protected]>
 ---> Using cache
 ---> 1cc1cfda2218
Step 3/5 : RUN apk update &&     apk add git &&     rm -r /var/cache/apk/*
 ---> Using cache
 ---> 1c3a71dbd35e
Step 4/5 : RUN go get -u -d github.com/mattes/migrate/cli                  github.com/lib/pq
 ---> Using cache
 ---> d207113a1f92
Step 5/5 : RUN go build -tags 'postgres' -o /usr/local/bin/migrate github.com/mattes/migrate/cli
 ---> Running in 085db9bd1dfb
# github.com/lib/pq`
src/github.com/lib/pq/notify.go:47: undefined: driver.Connector
ERROR: Service 'migrate' failed to build: The command '/bin/sh -c go build -tags 'postgres' -o /usr/local/bin/migrate github.com/mattes/migrate/cli' returned a non-zero code: 2
make: *** [Makefile:16: migrate-up] Error 1
~/crick/api$

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions