This is an automated email from the ASF dual-hosted git repository. djencks pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit a5faff589772e1366259974887df53b7149f8401 Author: David Jencks <djen...@apache.org> AuthorDate: Thu Nov 11 08:34:29 2021 -0800 Scripts to run yarn update:dependencies inside docker container --- update-deps-in-docker.sh | 7 +++++++ update-deps.sh | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/update-deps-in-docker.sh b/update-deps-in-docker.sh new file mode 100755 index 0000000..cc52849 --- /dev/null +++ b/update-deps-in-docker.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# Run yarn update:dependencies in docker to produce linux-compatible .yarn/unplugged entries. +# On another system (e.g. mac) you need to run yarn to get platform appropriate entries. + +docker build -t camel-website . +docker run --rm -it -v $(pwd):/work:Z --entrypoint ./update-deps.sh --workdir /work camel-website diff --git a/update-deps.sh b/update-deps.sh new file mode 100755 index 0000000..ed3ecd9 --- /dev/null +++ b/update-deps.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# run from update-deps-in-docker.sh +yarn update:dependencies