Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
fix: add download landing page for kam (#291)
Browse files Browse the repository at this point in the history
* fix: add download landing page for kam

* change index location
  • Loading branch information
saumeya authored Dec 22, 2021
1 parent 206e2c8 commit f4c1c9f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.serve
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ FROM registry.access.redhat.com/rhscl/httpd-24-rhel7
# Add application sources
RUN mkdir -p /var/www/html/kam
COPY --from=builder /tmp/kam/dist/kam_windows_amd64.exe /tmp/kam/dist/kam_linux_amd64 /tmp/kam/dist/kam_darwin_amd64 /var/www/html/kam/

COPY config/index.html /var/www/html/index.html
# The run script uses standard ways to run the application
CMD run-httpd
23 changes: 23 additions & 0 deletions config/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!doctype html>
<html>
<head>
<title>Kam download</title>
</head>
<body>
<h2>Download GitOps Application Manager (kam) CLI</h1>
<table>
<tr>
<td>Darwin</td>
<td><a href="/kam/kam_darwin_amd64">kam_darwin_amd64</a></td>
</tr>
<tr>
<td>Linux</td>
<td><a href="/kam/kam_linux_amd64">kam_linux_amd64</a></td>
</tr>
<tr>
<td>Windows</td>
<td><a href="/kam/kam_windows_amd64.exe">kam_windows_amd64.exe</a></td>
</tr>
</table>
</body>
</html>

0 comments on commit f4c1c9f

Please sign in to comment.