File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -o errexit
4
+ set -o pipefail
5
+ set -o nounset
6
+
7
+ SCRIPT_PATH=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
8
+ BASE_PATH=$( cd -- " $( dirname -- " ${SCRIPT_PATH} " ) " & > /dev/null && pwd )
9
+
10
+ BASE_IMAGE=" ${BASE_IMAGE:- mcr.microsoft.com/ devcontainers/ base: ubuntu} "
11
+
12
+ PARAM_FEATURES=
13
+
14
+ if [ $# -gt 0 ]; then
15
+ PARAM_FEATURES=" --features $@ "
16
+ fi
17
+
18
+ cd $BASE_PATH
19
+
20
+ devcontainer features test --skip-scenarios --skip-duplicated $PARAM_FEATURES --base-image $BASE_IMAGE .
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -o errexit
4
+ set -o pipefail
5
+ set -o nounset
6
+
7
+ SCRIPT_PATH=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
8
+ BASE_PATH=$( cd -- " $( dirname -- " ${SCRIPT_PATH} " ) " & > /dev/null && pwd )
9
+
10
+ BASE_IMAGE=" ${BASE_IMAGE:- mcr.microsoft.com/ devcontainers/ base: ubuntu} "
11
+
12
+ PARAM_FEATURES=
13
+
14
+ if [ $# -gt 0 ]; then
15
+ PARAM_FEATURES=" --features $@ "
16
+ fi
17
+
18
+ cd $BASE_PATH
19
+
20
+ devcontainer features test --skip-autogenerated --skip-duplicated $PARAM_FEATURES .
You can’t perform that action at this time.
0 commit comments