Comments (5)
Can you post the full output?
from ofelia.
Have the same problem. I can run it but build fails.
Here is the output:
Step 1/7 : FROM golang:1.7
---> 225948c9a8b1
Step 2/7 : MAINTAINER Máximo Cuadros <[email protected]>
---> Using cache
---> 62a6bdf08cc3
Step 3/7 : ADD . ${GOPATH}/src/github.com/mcuadros/ofelia
---> f1ab1cba574d
Step 4/7 : WORKDIR ${GOPATH}/src/github.com/mcuadros/ofelia
Removing intermediate container e6fd2344cc1f
---> 7ed9c9351e86
Step 5/7 : RUN go get -v ./... && go install -v ./... && rm -rf $GOPATH/src/
---> Running in e52b1ec39dc3
github.com/jessevdk/go-flags (download)
github.com/fsouza/go-dockerclient (download)
github.com/docker/docker (download)
github.com/docker/go-units (download)
github.com/mcuadros/go-defaults (download)
github.com/gobs/args (download)
github.com/robfig/cron (download)
Fetching https://gopkg.in/gomail.v2?go-get=1
Parsing meta tags from https://gopkg.in/gomail.v2?go-get=1 (status code 200)
get "gopkg.in/gomail.v2": found meta tag main.metaImport{Prefix:"gopkg.in/gomail.v2", VCS:"git", RepoRoot:"https://gopkg.in/gomail.v2"} at https://gopkg.in/gomail.v2?go-get=1
gopkg.in/gomail.v2 (download)
github.com/op/go-logging (download)
Fetching https://gopkg.in/gcfg.v1?go-get=1
Parsing meta tags from https://gopkg.in/gcfg.v1?go-get=1 (status code 200)
get "gopkg.in/gcfg.v1": found meta tag main.metaImport{Prefix:"gopkg.in/gcfg.v1", VCS:"git", RepoRoot:"https://gopkg.in/gcfg.v1"} at https://gopkg.in/gcfg.v1?go-get=1
gopkg.in/gcfg.v1 (download)
Fetching https://gopkg.in/warnings.v0?go-get=1
Parsing meta tags from https://gopkg.in/warnings.v0?go-get=1 (status code 200)
get "gopkg.in/warnings.v0": found meta tag main.metaImport{Prefix:"gopkg.in/warnings.v0", VCS:"git", RepoRoot:"https://gopkg.in/warnings.v0"} at https://gopkg.in/warnings.v0?go-get=1
gopkg.in/warnings.v0 (download)
github.com/jessevdk/go-flags
github.com/docker/docker/vendor/github.com/opencontainers/go-digest
github.com/docker/docker/vendor/github.com/opencontainers/image-spec/specs-go
github.com/docker/docker/vendor/github.com/opencontainers/image-spec/specs-go/v1
github.com/docker/docker/api/types/registry
github.com/docker/docker/api/types/blkiodev
github.com/docker/docker/api/types/mount
github.com/docker/docker/api/types/strslice
github.com/docker/docker/vendor/github.com/docker/go-connections/nat
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/api/types/container
github.com/docker/docker/api/types/network
github.com/docker/docker/vendor/github.com/gogo/protobuf/proto
github.com/docker/docker/api/types/versions
github.com/docker/docker/api/types/filters
github.com/docker/docker/vendor/golang.org/x/sys/unix
github.com/docker/docker/vendor/golang.org/x/crypto/ssh/terminal
github.com/docker/docker/vendor/github.com/sirupsen/logrus
github.com/docker/docker/api/types/swarm/runtime
github.com/docker/docker/vendor/github.com/docker/libnetwork/ipamutils
github.com/docker/docker/vendor/github.com/pkg/errors
github.com/docker/docker/api/types/swarm
github.com/docker/docker/vendor/archive/tar
github.com/docker/docker/api/types
github.com/docker/docker/opts
github.com/docker/docker/pkg/fileutils
github.com/docker/docker/vendor/github.com/containerd/continuity/pathdriver
github.com/docker/docker/pkg/mount
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/user
# github.com/docker/docker/pkg/mount
../../docker/docker/pkg/mount/mount.go:109: undefined: sort.Slice
github.com/docker/docker/pkg/ioutils
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/system
github.com/docker/docker/pkg/pools
github.com/docker/docker/vendor/github.com/Nvveen/Gotty
github.com/docker/docker/pkg/term
github.com/docker/docker/pkg/jsonmessage
github.com/docker/docker/pkg/stdcopy
github.com/docker/go-units
github.com/mcuadros/go-defaults
github.com/gobs/args
github.com/robfig/cron
gopkg.in/gomail.v2
github.com/op/go-logging
gopkg.in/gcfg.v1/token
gopkg.in/gcfg.v1/types
gopkg.in/gcfg.v1/scanner
gopkg.in/warnings.v0
gopkg.in/gcfg.v1
The command '/bin/sh -c go get -v ./... && go install -v ./... && rm -rf $GOPATH/src/' returned a non-zero code: 2
from ofelia.
I get exactly the same error.
from ofelia.
Set the golang version to 1.9 and rebuild.
from ofelia.
Should be resolved now
from ofelia.
Related Issues (20)
- Anyway to schedule stopping a container? HOT 1
- Provide the ability to use the same environment as a running container for `job-run` jobs HOT 3
- Can't use '&&' in commands HOT 2
- Migrate from "mcuadros/go-release-action@master" to goreleaser HOT 1
- Maybe an wrong Version Number v3.0.8 instead of v0.3.8 HOT 1
- Email when using job-run
- hub docker TYPO? v3.0.8 HOT 2
- Add an option to stop all containers on job-run, then start them again after completion.
- job-local causes go panic, Can't schedule jobs HOT 4
- Dependency Dashboard HOT 1
- can't escape semicolon in config.ini HOT 1
- Ofelia uses `root` user by default, even when Dockerfile is configured otherwise HOT 2
- job-run example with Docker labels / unable to start a empty scheduler HOT 10
- Missing/incomplete information in the email from Ofelia HOT 1
- Restart containers on a schedule with ofelia? HOT 2
- Notifications via Sentry? HOT 2
- Limit ofelia to execute jobs in own docker stack only? HOT 2
- No overlap between jobs HOT 2
- Hide SMTPPassword in email report HOT 1
- job-run Give Container a Name?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofelia.