Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Problem with building a Docker container #129

@MKleusberg

Description

@MKleusberg

I just tried to build a Docker image by running

cd path/to/dbhub.io/docker
docker build .

and I got this error message:

[...]
Step 21/27 : RUN mkdir -p /go/src/github.com/sqlitebrowser &&     cd /go/src/github.com/sqlitebrowser &&     git clone https://github.com/sqlitebrowser/dbhub.io &&     cd /go/src/github.com/sqlitebrowser/dbhub.io &&      /go/bin/dep ensure &&     go build -gcflags "all=-N -l" -o /usr/local/bin/dbhub-webui github.com/sqlitebrowser/dbhub.io/webui &&     go build -gcflags "all=-N -l" -o /usr/local/bin/dbhub-db4s github.com/sqlitebrowser/dbhub.io/db4s
 ---> Running in 1aa80928fbf2
Cloning into 'dbhub.io'...
could not find project Gopkg.toml, use dep init to initiate a manifest
The command '/bin/sh -c mkdir -p /go/src/github.com/sqlitebrowser &&     cd /go/src/github.com/sqlitebrowser &&     git clone https://github.com/sqlitebrowser/dbhub.io &&     cd /go/src/github.com/sqlitebrowser/dbhub.io &&      /go/bin/dep ensure &&     go build -gcflags "all=-N -l" -o /usr/local/bin/dbhub-webui github.com/sqlitebrowser/dbhub.io/webui &&     go build -gcflags "all=-N -l" -o /usr/local/bin/dbhub-db4s github.com/sqlitebrowser/dbhub.io/db4s' returned a non-zero code: 1

Can you point me in the right direction, @justinclift?

Also wondering if the the last line of the Dockerfile should have 443 instead of 8443 or if this is on purpose because it's running locally?

EXPOSE 8443 5550 9000 40000

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions