Skip to content

Commit 9cbc393

Browse files
authored
Update Dockerfile to use the openmcp installer
We need to make sure that the installer actually works
1 parent 6a4bb89 commit 9cbc393

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Dockerfile

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ RUN apt-get update && apt-get install -y curl build-essential && \
1010
ENV PATH="/root/.cargo/bin:${PATH}"
1111

1212
# Directly download and install OpenMCP from source to avoid binary compatibility issues
13-
RUN apt-get install -y git && \
14-
git clone https://github.com/decentralized-mcp/proxy.git && \
15-
cd proxy && \
16-
cargo build --release && \
17-
cp target/release/openmcp /usr/local/bin/ && \
18-
chmod +x /usr/local/bin/openmcp && \
19-
cd .. && \
20-
rm -rf proxy
13+
# RUN apt-get install -y git && \
14+
# git clone https://github.com/decentralized-mcp/proxy.git && \
15+
# cd proxy && \
16+
# cargo build --release && \
17+
# cp target/release/openmcp /usr/local/bin/ && \
18+
# chmod +x /usr/local/bin/openmcp && \
19+
# cd .. && \
20+
# rm -rf proxy
21+
22+
# Install openmcp proxy via the installer
23+
RUN curl -sSfL 'https://raw.githubusercontent.com/decentralized-mcp/proxy/refs/heads/master/install.sh' | bash
2124

2225
# Set working directory
2326
WORKDIR /app

0 commit comments

Comments
 (0)