-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
# We're temporarily using Alpine as a base imagine, because there is a bug with | ||
# health check execution such that it always requires a shell. | ||
# | ||
# This issue has been fixed in https://github.com/docker/docker/pull/26208, once | ||
# this makes it into a Docker release we can switch back to "scratch". | ||
FROM alpine:3.4 | ||
MAINTAINER James Harris <[email protected]> | ||
FROM scratch | ||
|
||
RUN apk add --update ca-certificates | ||
ADD http://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/ | ||
|
||
# Likewise, we can switch back to the "exec" form of HEALTHCHECK once the above | ||
# fix is released. | ||
HEALTHCHECK --interval=15s --timeout=500ms CMD /app/bin/healthcheck -check | ||
HEALTHCHECK --interval=15s --timeout=500ms CMD ["/app/bin/healthcheck"] | ||
ENTRYPOINT ["/app/bin/honeycomb"] | ||
|
||
EXPOSE 8443 | ||
|
||
ENV CERTIFICATE_PATH "/" | ||
ENV CERTIFICATE_PATH "" | ||
ENV CERTIFICATE_S3_BUCKET "" | ||
ENV AWS_ACCESS_KEY_ID "" | ||
ENV AWS_SECRET_ACCESS_KEY "" | ||
|
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