File tree 2 files changed +4
-12
lines changed
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
-
3
1
# Keep in sync with Dockerfile.autoindex
4
2
FROM node:17.7.1-alpine3.14@sha256:cbb62fa2f740959b173b180e4806a5e479fbbd7a20072c3d6b4283bf2b9951d1
5
3
6
4
ARG TAG
7
5
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
11
7
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
13
9
14
10
RUN yarn global add @sourcegraph/scip-typescript@${TAG}
15
11
Original file line number Diff line number Diff line change 1
- FROM sourcegraph/src-cli:3.40.0
2
-
3
1
# Keep in sync with default Dockerfile
4
2
FROM node:17.7.1-alpine3.14@sha256:cbb62fa2f740959b173b180e4806a5e479fbbd7a20072c3d6b4283bf2b9951d1
5
3
6
4
ENV NODE_OPTIONS=--max-old-space-size=4096
7
5
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
11
7
12
8
RUN echo 'scip-typescript "$@" --no-progress-bar' > /usr/bin/scip-typescript-autoindex && chmod +x /usr/bin/scip-typescript-autoindex
13
9
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
15
11
16
12
RUN yarn global add @sourcegraph/scip-typescript@${TAG}
17
13
You can’t perform that action at this time.
0 commit comments