Created
September 28, 2016 16:24
-
-
Save parabuzzle/77ded2ae4b2c4a619d5ea87495105374 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 docker file sets up the base container for other applications | |
# | |
# https://docs.docker.com/reference/builder/ | |
# | |
# Author:: Michael Heijmans (mailto:[email protected]) | |
# Copyright:: Copyright (c) 2016 Michael Heijmans | |
# License:: MIT | |
FROM parabuzzle/ruby:2.3.1 | |
MAINTAINER [email protected] | |
RUN gem install vault | |
COPY lib/vault_loader.rb /lib/vault_loader.rb | |
COPY bin/vaultenv /bin/vaultenv | |
COPY app_env /tmp/app_env | |
COPY bin/with_app_env /bin/with_app_env | |
RUN chmod +x /bin/vaultenv | |
RUN chmod +x /bin/with_app_env | |
ENV APP_ENV development | |
ENV VAULT_ADDR http://vault:8200 | |
WORKDIR /webapp | |
ENTRYPOINT [ "with_app_env" ] | |
CMD [ "bash" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment