-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish hotrod image to docker hub (#702)
* Publish hotrod to dockerub Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Fix review comments Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Add env to dockerfile to handle collector hostport Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Use alpine Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Use scratch and entrypoint hotrod all Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Remove cd - Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Fix cd Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Add ls Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Remove bindata.go Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Add wait until 200 Signed-off-by: Pavol Loffay <ploffay@redhat.com>
- Loading branch information
1 parent
ff666cd
commit 30d3e18
Showing
11 changed files
with
320 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
hotrod-demo | ||
hotrod-linux |
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 scratch | ||
EXPOSE 8080 8081 8082 8083 | ||
COPY hotrod-linux / | ||
CMD ["./hotrod-linux", "all"] | ||
COPY hotrod-linux /go/bin/ | ||
ENTRYPOINT ["/go/bin/hotrod-linux", "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 was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.