-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #527 from go-graphite/atimofieiev/fixes
added dockerfile.debug and enabled carbonserver in test config
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM golang:1.18 | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
apt-utils telnet netcat-openbsd net-tools jq lsof less | ||
|
||
RUN go install github.com/go-delve/delve/cmd/dlv@latest | ||
RUN go install github.com/google/pprof@latest | ||
|
||
COPY . go-carbon | ||
WORKDIR /go/go-carbon | ||
|
||
RUN go build | ||
|
||
RUN addgroup --system carbon && adduser --system carbon && adduser carbon carbon \ | ||
&& mkdir -p /var/lib/graphite/whisper /var/lib/graphite/dump /var/lib/graphite/tagging /var/log/go-carbon /etc/go-carbon/ \ | ||
&& chown -R carbon:carbon /var/lib/graphite/ /var/log/go-carbon | ||
|
||
ADD go-carbon.conf.example /etc/go-carbon/go-carbon.conf | ||
ADD deploy/storage*.conf /etc/go-carbon/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters