Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfiles to reference executable via ENTRYPOINT
- In all Dockerfiles, reference the executable in ENTRYPOINT to allow consumers to override default parameters without needing to specify the executable path. - Common default arguments in the query and standalone Dockerfiles also move to ENTRYPOINT - Move hotrod default argument to CMD Signed-off-by: Zachary DiCesare <zachary.v.dicesare@gmail.com>
- Loading branch information
Showing
10 changed files
with
13 additions
and
12 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
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
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
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
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,4 +1,5 @@ | ||
FROM scratch | ||
EXPOSE 8080 8081 8082 8083 | ||
COPY hotrod-linux /go/bin/ | ||
ENTRYPOINT ["/go/bin/hotrod-linux", "all"] | ||
ENTRYPOINT ["/go/bin/hotrod-linux"] | ||
CMD ["all"] |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3-alpine | ||
RUN pip install elasticsearch elasticsearch-curator | ||
COPY esCleaner.py /es-index-cleaner/ | ||
CMD ["python3", "/es-index-cleaner/esCleaner.py"] | ||
ENTRYPOINT ["python3", "/es-index-cleaner/esCleaner.py"] |