yexuanyang commented on code in PR #3547: URL: https://github.com/apache/hertzbeat/pull/3547#discussion_r2244246058
########## mcp-servers/mcp-bash-server/Dockerfile: ########## @@ -0,0 +1,100 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# Multi-stage build for mcp-bash-server +# Stage 1: Build stage +FROM ubuntu:noble AS builder + +# Set environment variables +ENV DEBIAN_FRONTEND=noninteractive +ENV RUST_VERSION=stable +ENV PATH="/root/.cargo/bin:${PATH}" + +# Set proxy environment variables if needed +# Uncomment the following lines if you need to use a proxy +ENV https_proxy=http://172.17.0.1:7897 +ENV http_proxy=http://172.17.0.1:7897 Review Comment: OK, I will change it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
