mirror of https://github.com/grpc/grpc-node.git
Resolve comments
This commit is contained in:
parent
087d67441b
commit
0ab70b9cb7
|
@ -1,2 +1,2 @@
|
|||
FROM node:8-alpine
|
||||
RUN apk add --no-cache python curl bash build-base
|
||||
RUN apk add --no-cache python curl bash build-base
|
||||
|
|
|
@ -31,8 +31,8 @@ mkdir -p "${ARTIFACTS_OUT}"
|
|||
|
||||
docker build -t alpine_node_artifact $base_dir/tools/docker/alpine_artifact
|
||||
|
||||
$tool_dir/build_artifact_node.sh false
|
||||
$tool_dir/build_artifact_node.sh
|
||||
|
||||
$tool_dir/build_artifact_node_arm.sh
|
||||
|
||||
docker run -e ARTIFACTS_OUT=/var/grpc/artifacts -v $base_dir:/var/grpc alpine_node_artifact bash -c /var/grpc/tools/run_tests/artifacts/build_artifact_node.sh true
|
||||
docker run -e ARTIFACTS_OUT=/var/grpc/artifacts -v $base_dir:/var/grpc alpine_node_artifact bash -c /var/grpc/tools/run_tests/artifacts/build_artifact_node.sh --with-alpine
|
||||
|
|
|
@ -13,6 +13,23 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
NODE_ALPINE_BUILD=false
|
||||
|
||||
while true ; do
|
||||
case $1 in
|
||||
--with-alpine)
|
||||
NODE_ALPINE_BUILD=true
|
||||
;;
|
||||
"")
|
||||
;;
|
||||
*)
|
||||
echo "Unknown parameter: $1"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift || break
|
||||
done
|
||||
|
||||
NODE_ALPINE_BUILD=$1
|
||||
|
||||
umask 022
|
||||
|
|
Loading…
Reference in New Issue