File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ if [[ ! -d ~/.git-references/built-docs.git ]]; then
1414fi
1515
1616# Get an up to date copy of the repo
17- rm -rf air_gapped/work
18- mkdir air_gapped/work
19- git clone --reference ~ /.git-references/built-docs.git --dissociate \
20- --depth 2 --branch master --bare \
21- [email protected] :elastic/built-docs.git air_gapped/work/target_repo.git
17+ # rm -rf air_gapped/work
18+ # mkdir air_gapped/work
19+ # git clone --reference ~/.git-references/built-docs.git --dissociate \
20+ # --depth 2 --branch master --bare \
21+ # [email protected] :elastic/built-docs.git air_gapped/work/target_repo.git22+
2223GIT_DIR=air_gapped/work/target_repo.git git fetch
2324
2425# Build the images
25- source preview/build.sh
2626DOCKER_BUILDKIT=1 docker build -t $AIR_GAPPED -f air_gapped/Dockerfile .
Original file line number Diff line number Diff line change @@ -10,12 +10,10 @@ set -e
1010cd $( git rev-parse --show-toplevel)
1111
1212source ./air_gapped/build.sh
13- id=$( docker run --rm \
14- --publish 8000:8000/tcp \
15- -d \
16- $AIR_GAPPED )
13+ id=$( docker run --rm --publish 3000:3000 -d $AIR_GAPPED )
14+
1715echo " Started the air gapped docs. Some useful commands:"
1816echo " docker kill $id "
1917echo " docker logs -tf $id "
2018echo " You should eventually be able to access:"
21- echo " http://master.localhost:8000 /guide/index.html"
19+ echo " http://master.localhost:3000 /guide/index.html"
You can’t perform that action at this time.
0 commit comments