From 8ac21fd664763c02682a4f22f4716a779f5d13ae Mon Sep 17 00:00:00 2001 From: Denys Vitali Date: Sat, 17 Apr 2021 18:15:58 +0200 Subject: [PATCH] docker: add .dockerignore, add build instructions Signed-off-by: Denys Vitali --- .dockerignore | 4 ++++ README.md | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000000..ec225e39035c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +.git +Dockerfile +node_modules +packages/ diff --git a/README.md b/README.md index 9cb62167d1eb..91c9ed83904e 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,13 @@ Run the command ```yarn test:jest``` in the OpenSearch Dashboards project direct For the integration tests, you must pass the absolute path of your extracted OpenSearch build artifacts through the ```TEST_OPENSEARCH_FROM``` env variable so that Dashboards can run an OpenSearch cluster. You can run: ```TEST_OPENSEARCH_FROM=/path/to/extracted/build/artifact yarn test:jest_integration``` +## Building the Docker Image + +``` +yarn osd bootstrap +yarn build --docker +``` + ## How you can help ### Look for the tag "help wanted"