Skip to content

Commit

Permalink
Merge branch 'main' into readme-tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov authored Oct 22, 2023
2 parents 4fd3530 + 82f3b86 commit e03d3f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Use the official Python image as the base image
FROM registry.access.redhat.com/ubi9/python-311
# Use the official ubi minimal base image
FROM registry.access.redhat.com/ubi9/ubi-minimal

# Install python
RUN microdnf install python -y

# Set environment variables
ENV LISTEN_ADDRESS=0.0.0.0
Expand Down
8 changes: 4 additions & 4 deletions src/getpublickey.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ def run_cli(url):
)
parser.add_argument(
"--tls-key",
default="key.pem",
help="Path to the TLS key file for HTTPS (default key.pem)",
default="tls.key",
help="Path to the TLS key file for HTTPS (default tls.key)",
)
parser.add_argument(
"--tls-crt",
default="cert.pem",
help="Path to the TLS certificate file for HTTPS (default cert.pem)",
default="tls.crt",
help="Path to the TLS certificate file for HTTPS (default tls.crt)",
)
parser.add_argument("--url", help="URL to use in the CLI (optional)")

Expand Down

0 comments on commit e03d3f2

Please sign in to comment.