Last active
March 13, 2017 23:54
-
-
Save gbolo/054e0c295089fa604f5aee2513dd8e8b to your computer and use it in GitHub Desktop.
tinyapi dockerfile from scratch
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
# Building A Tiny but Functional Docker Container | |
FROM scratch | |
LABEL maintainer "George Bolo <[email protected]>" | |
# Install Application - github.com/gbolo/go-tinyapi | |
ENV TINYAPI_CFG_PATH /etc/tinyapi | |
ADD tinyapi /bin/tinyapi | |
ADD config.yml ${TINYAPI_CFG_PATH}/config.yml | |
# This application requires CA bundle for outbound HTTPS calls | |
ADD cacert-2017-01-18.pem /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem | |
EXPOSE 8080 | |
ENTRYPOINT ["/bin/tinyapi"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment