-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Package as a Docker image * Addressed Viswa's comment
- Loading branch information
1 parent
e814a88
commit cfa64e0
Showing
5 changed files
with
56 additions
and
3 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 |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Setting files of JetBrains IDE | ||
.idea | ||
/.idea | ||
|
||
# Empty file touched by `make deps` | ||
/deps | ||
|
||
# Project specifc $GOBIN | ||
/.gobin | ||
|
||
# Binary | ||
/image/network-crawler |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
if [ -n "${CIRCLE_TAG}" ]; then | ||
echo "${CIRCLE_TAG}" | ||
else | ||
git describe --long --tags --abbrev=10 --dirty | ||
fi |
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,8 @@ | ||
FROM alpine:3.12 | ||
|
||
# Needed by network-crawler script | ||
RUN apk add curl | ||
|
||
COPY network-crawler /usr/bin/network-crawler | ||
|
||
ENTRYPOINT ["/usr/bin/network-crawler"] |
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