forked from equinix-labs/otel-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
equinix-labs#293 ship alpine certs with docker (equinix-labs#295)
* switch to alpine:latest base image for certificates Solves equinix-labs#293. * update README.md add Docker to the quick start section, it was missing add a section on using volume mounts to override TLS store in the container
- Loading branch information
Showing
2 changed files
with
25 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
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,6 +1,9 @@ | ||
# While the top-level Dockerfile is set up for local development on otel-cli, | ||
# this Dockerfile is only for release. otel-cli containers should contain only | ||
# the otel-cli static binary and nothing else. | ||
FROM scratch | ||
# this Dockerfile is only for release. | ||
# | ||
# We use the Alpine base image to get the TLS trust store and not much else. | ||
# The ca-certificates-bundle packet is pre-installed in the base so no | ||
# additional packages are required. | ||
FROM alpine:latest | ||
ENTRYPOINT ["/otel-cli"] | ||
COPY otel-cli / |