# Required for SSL
FROM docker.pkgs.xarth.tv/twitch/scratch-ca:3.0
MAINTAINER Jack Lindamood <jlindamo@twitch.tv>

COPY config /config
COPY ./cmd/graphdb/schema /schema
COPY ./cmd/graphdb/graphdb /graphdb
COPY ./cmd/graphdb/graphdb /graphdb_race

# TODO: Remove this when we migrate to another system that can put this information
#       Somewhere that makes sense
ENV AWS_REGION us-west-2
ENV AWS_STS_REGIONAL_ENDPOINTS regional
ENV AWS_CSM_ENABLED true
ENV AWS_CSM_CLIENT_ID graphdb

CMD ["/graphdb"]
