Skip to content

Commit 0924e77

Browse files
authored
fix: update docker image (#57)
* fix: duplicate tool name * fix: docker image
1 parent fa110b1 commit 0924e77

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
with:
3636
platforms: linux/amd64,linux/arm64
3737
push: true
38+
provenance: mode=max
3839
tags: |
3940
${{ env.IMAGE_NAME }}:${{ inputs.version }}
4041
${{ env.IMAGE_NAME }}:latest

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ COPY ./src ./src
99
RUN cargo build --release
1010
RUN ls -lh target
1111

12-
FROM alpine
12+
FROM alpine:latest
1313

1414
COPY --from=builder /usr/src/app/target/*-unknown-linux-musl/release/rust-mcp-filesystem rust-mcp-filesystem
1515

16-
ENTRYPOINT ["./rust-mcp-filesystem"]
16+
RUN adduser -D -s /bin/sh rust-mcp-user
17+
USER rust-mcp-user
1718

19+
ENTRYPOINT ["./rust-mcp-filesystem"]

0 commit comments

Comments
 (0)