-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from KillrVideo/set-flag
External Bootstrap Flag
- Loading branch information
Showing
9 changed files
with
21 additions
and
111 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,16 +1,8 @@ | ||
FROM datastax/dse-server:6.7.0 | ||
|
||
# Copy schema files into /opt/killrvideo-data | ||
# Copy required files | ||
COPY [ "lib/killrvideo-data/graph/killrvideo_video_recommendations_schema.groovy", "lib/killrvideo-data/schema.cql", "lib/killrvideo-data/search/*", "keyspace.cql", "/opt/killrvideo-data/" ] | ||
|
||
# Copy bootstrap script(s) and make executable | ||
COPY [ "bootstrap.sh", "lib/wait-for-it/wait-for-it.sh", "/" ] | ||
|
||
# Make sure curl command is available for registering DSE ports with etcd | ||
USER root | ||
RUN set -x \ | ||
&& apt-get update -qq && apt-get install -y curl | ||
# && apt-get install -y sudo | ||
|
||
# Set the entrypoint to the bootstrap script | ||
ENTRYPOINT [ "/bootstrap.sh" ] |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.