Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: modelcontextprotocol/servers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: docker/mcp-servers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Dec 21, 2024

  1. Copy the full SHA
    d900d43 View commit details
Showing with 4 additions and 8 deletions.
  1. +4 −3 src/gdrive/Dockerfile
  2. +0 −5 src/gdrive/replace_open.sh
7 changes: 4 additions & 3 deletions src/gdrive/Dockerfile
Original file line number Diff line number Diff line change
@@ -11,6 +11,9 @@ RUN --mount=type=cache,target=/root/.npm-production npm ci --ignore-scripts --om

FROM node:22-alpine AS release

# Install bash and sed
RUN apk add --no-cache bash sed

WORKDIR /app

COPY --from=builder /app/dist /app/dist
@@ -22,8 +25,6 @@ ENV NODE_ENV=production

RUN npm ci --ignore-scripts --omit-dev

RUN sh /replace_open.sh

RUN rm /replace_open.sh
RUN /bin/sed -i 's/opn(authorizeUrl, { wait: false }).then(cp => cp.unref());/process.stderr.write(`Open this URL in your browser: ${authorizeUrl}\n`);/' node_modules/@google-cloud/local-auth/build/src/index.js

ENTRYPOINT ["node", "dist/index.js"]
5 changes: 0 additions & 5 deletions src/gdrive/replace_open.sh

This file was deleted.