File tree Expand file tree Collapse file tree 2 files changed +3
-19
lines changed
Expand file tree Collapse file tree 2 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.24.2-alpine AS builder
2-
3- RUN apk add --no-cache curl git bash && \
4- curl -sL https://taskfile.dev/install.sh | sh
5-
6- WORKDIR /app
7-
8- COPY .git .git
9- COPY Taskfile.yml .
10- COPY src src
11-
12- RUN task setup
13-
14- WORKDIR /app/src
15- RUN go build -v -o /app/opslevel-mcp ./main.go
16-
171FROM alpine:latest
182
193RUN apk add --no-cache ca-certificates
204
21- COPY --from=builder /app/ opslevel-mcp /opslevel-mcp
5+ COPY --from=public.ecr.aws/opslevel/mcp:latest /usr/local/bin/ opslevel-mcp /bin /opslevel-mcp
226
23- CMD ["/opslevel-mcp" ]
7+ ENTRYPOINT ["/opslevel-mcp" ]
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ WORKDIR /app
55RUN apt-get update && \
66 apt-get install -y ca-certificates jq && \
77 apt-get purge && apt-get clean && apt-get autoclean
8- COPY opslevel /usr/local/bin
8+ COPY opslevel-mcp /usr/local/bin
You can’t perform that action at this time.
0 commit comments