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
-
17
1
FROM alpine:latest
18
2
19
3
RUN apk add --no-cache ca-certificates
20
4
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
22
6
23
- CMD ["/opslevel-mcp" ]
7
+ ENTRYPOINT ["/opslevel-mcp" ]
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ WORKDIR /app
5
5
RUN apt-get update && \
6
6
apt-get install -y ca-certificates jq && \
7
7
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