Comments (3)
Hi @andryyy and thanks for the additional details. I have raised PR #43 to fix this problem.
from damon.
Hi @andryyy, could you provide a little context on what is not working for you currently with the Dockerfile?
from damon.
Oh, sorry, just had to update Go to 1.18 in the Dockerfile for it to build. :)
Also sorry for not adding useful information to this issue. The previous error looked like this:
❯ docker build --platform linux/amd64 .
Sending build context to Docker daemon 839.2kB
Step 1/23 : FROM golang:1.17 AS devbuild
1.17: Pulling from library/golang
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
---> 742df529b073
Step 2/23 : ENV CGO_ENABLED=0
---> Running in 57df848d3402
Removing intermediate container 57df848d3402
---> 1b0d218f3967
Step 3/23 : WORKDIR /build
---> Running in 87b03544d57c
Removing intermediate container 87b03544d57c
---> 758af69856ec
Step 4/23 : COPY . ./
---> b91c7a79c0f9
Step 5/23 : RUN go build -o damon ./cmd/damon
---> Running in 460f377e9824
go: downloading github.com/gdamore/tcell/v2 v2.5.3
go: downloading github.com/rivo/tview v0.0.0-20220911190240-55965cf21d8e
go: downloading github.com/jessevdk/go-flags v1.5.0
go: downloading github.com/hashicorp/nomad/api v0.0.0-20210804153318-c67b69bd0cc6
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading golang.org/x/sys v0.0.0-20220909162455-aba9fc2a8ff2
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/hashicorp/cronexpr v1.1.1
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/hashicorp/go-rootcerts v1.0.2
go: downloading github.com/mitchellh/mapstructure v1.4.1
go: downloading github.com/gdamore/encoding v1.0.0
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading golang.org/x/term v0.0.0-20220722155259-a9ba230a4035
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/rivo/uniseg v0.4.2
# github.com/rivo/uniseg
/go/pkg/mod/github.com/rivo/[email protected]/properties.go:137:6: missing function body
/go/pkg/mod/github.com/rivo/[email protected]/properties.go:137:20: syntax error: unexpected [, expecting (
note: module requires Go 1.18
The command '/bin/sh -c go build -o damon ./cmd/damon' returned a non-zero code: 2
from damon.
Related Issues (20)
- 🍦 As a user, I want to see events for my tasks. HOT 1
- Segfault while viewing allocation logs HOT 2
- Random task is selected for log viewing when selecting an allocation with multiple tasks HOT 3
- Display allocated ports for a job HOT 4
- Show healthy/running/desired allocs in Job summary HOT 2
- As a user, I want to be able to select which task I want to show the logs for! HOT 2
- ⚙️ Allow a subscriber to subscribe to multiple topics at a time. HOT 1
- Feature request: alloc exec HOT 2
- Feature request: optionally merge stdout and stderr HOT 1
- Feature: highlight string in logs HOT 4
- Crash while tailing a pretty active web log HOT 6
- Unactionable 500 from watcher HOT 3
- Seeing Tasks groups of namespace NB in namespace NA HOT 4
- Missing dependency tcell HOT 3
- Rendering magic HOT 2
- Seg fault running Damon HOT 1
- Print the commit when running damon --version HOT 1
- GitHub Actions - deprecated warnings found - action required! HOT 1
- [bug] Damon crashes when NOMAD_ADDR does not start with http:// HOT 2
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 damon.