-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ease debugging * Ease consumption via a Dockerfile and Docker Hub container
- Loading branch information
1 parent
705b930
commit 0df5940
Showing
6 changed files
with
335 additions
and
490 deletions.
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,7 @@ | ||
.eslintrc.yml | ||
.git | ||
.gitignore | ||
.prettierrc | ||
README.md | ||
node_modules | ||
package-lock.json |
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,16 @@ | ||
FROM graphiteapp/graphite-statsd:1.1.10-4 | ||
|
||
ARG VSN=1.0.0 | ||
|
||
WORKDIR /etc/service/dogstatsd-2-statsd | ||
|
||
# Read /entrypoint to understand why we use run and /etc/service | ||
RUN set -ex \ | ||
&& sed -i 's/8125/8135/g' /opt/statsd/config/udp.js \ | ||
&& apk add npm git \ | ||
&& git clone --depth 1 --branch $VSN https://github.com/paulo-ferraz-oliveira/dogstatsd-2-statsd.git . \ | ||
&& npm install --omit=dev \ | ||
&& echo -e "#!/bin/bash\n\nexec node index.js" > run \ | ||
&& chmod +x run | ||
|
||
ENTRYPOINT /entrypoint |
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
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
Oops, something went wrong.