-
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.
- Switched bootstrap to use external flag instead of the file flag - Removed curl installation from Dockerfile as curl was needed only for ETCD
- Loading branch information
1 parent
57eacad
commit d5fab40
Showing
3 changed files
with
21 additions
and
38 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