File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1- FROM sourcegraph/src-cli:3.40.0
2-
31# Keep in sync with Dockerfile.autoindex
42FROM node:17.7.1-alpine3.14@sha256:cbb62fa2f740959b173b180e4806a5e479fbbd7a20072c3d6b4283bf2b9951d1
53
64ARG TAG
75
8- RUN apk add --no-cache git
9-
10- COPY --from=src-cli /usr/bin/src /usr/bin
6+ RUN apk add --no-cache git curl
117
12- RUN npm install --global yarn
8+ RUN curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/bin/src && chmod +x /usr/bin/src
139
1410RUN yarn global add @sourcegraph/scip-typescript@${TAG}
1511
Original file line number Diff line number Diff line change 1- FROM sourcegraph/src-cli:3.40.0
2-
31# Keep in sync with default Dockerfile
42FROM node:17.7.1-alpine3.14@sha256:cbb62fa2f740959b173b180e4806a5e479fbbd7a20072c3d6b4283bf2b9951d1
53
64ENV NODE_OPTIONS=--max-old-space-size=4096
75
8- RUN apk add --no-cache git bash curl ca-certificates python3 make libstdc++ libgcc gcc g++ pkgconfig python2 automake autoconf
9-
10- COPY --from=src-cli /usr/bin/src /usr/bin
6+ RUN apk add --no-cache git bash curl ca-certificates python3 make libstdc++ libgcc gcc g++ pkgconfig python2 automake autoconf curl
117
128RUN echo 'scip-typescript "$@" --no-progress-bar' > /usr/bin/scip-typescript-autoindex && chmod +x /usr/bin/scip-typescript-autoindex
139
14- RUN npm install --global yarn
10+ RUN curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/bin/src && chmod +x /usr/bin/src
1511
1612RUN yarn global add @sourcegraph/scip-typescript@${TAG}
1713
You can’t perform that action at this time.
0 commit comments