File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ARG VERSION
55RUN pip install --no-cache-dir pyrefly==${VERSION}
66
77FROM python:3.12-slim
8+ ARG VERSION
89LABEL org.opencontainers.image.version="${VERSION}"
910COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
1011COPY --from=builder /usr/local/bin/pyrefly /usr/local/bin/pyrefly
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ARG VERSION
55RUN npm install -g pyright@${VERSION}
66
77FROM node:22-slim
8+ ARG VERSION
89LABEL org.opencontainers.image.version="${VERSION}"
910COPY --from=builder /usr/local/lib/node_modules /usr/local/lib/node_modules
1011COPY --from=builder /usr/local/bin/pyright /usr/local/bin/pyright
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN apt-get update && apt-get install -y curl && \
77 chmod +x /usr/local/bin/rust-analyzer
88
99FROM debian:bookworm-slim
10+ ARG VERSION
1011LABEL org.opencontainers.image.version="${VERSION}"
1112RUN apt-get update && apt-get install -y libgcc-s1 && rm -rf /var/lib/apt/lists/*
1213COPY --from=builder /usr/local/bin/rust-analyzer /usr/local/bin/rust-analyzer
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ARG VERSION
55RUN npm install -g typescript-language-server@${VERSION} typescript
66
77FROM node:22-slim
8+ ARG VERSION
89LABEL org.opencontainers.image.version="${VERSION}"
910COPY --from=builder /usr/local/lib/node_modules /usr/local/lib/node_modules
1011COPY --from=builder /usr/local/bin/typescript-language-server /usr/local/bin/typescript-language-server
You can’t perform that action at this time.
0 commit comments