Skip to content

Commit 044355b

Browse files
authored
Add rxjs to the docker suite (#33500)
1 parent da8d3ef commit 044355b

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
Exit Code: 1
2+
Standard output:
3+
4+
> @reactivex/rxjs@X.X.X-alpha.0 build_all /rxjs
5+
> npm-run-all clean_dist copy_sources build_cjs build_esm5 build_esm2015 build_esm5_for_rollup build_umd build_types generate_packages
6+
> @reactivex/rxjs@X.X.X-alpha.0 clean_dist /rxjs
7+
> shx rm -rf ./dist
8+
> @reactivex/rxjs@X.X.X-alpha.0 copy_sources /rxjs
9+
> mkdirp dist && shx cp -r ./src/ ./dist/src
10+
> @reactivex/rxjs@X.X.X-alpha.0 build_cjs /rxjs
11+
> npm-run-all clean_dist_cjs compile_dist_cjs
12+
> @reactivex/rxjs@X.X.X-alpha.0 clean_dist_cjs /rxjs
13+
> shx rm -rf ./dist/cjs
14+
> @reactivex/rxjs@X.X.X-alpha.0 compile_dist_cjs /rxjs
15+
> tsc -p ./tsconfig/tsconfig.cjs.json
16+
node_modules/@types/node/index.d.ts(74,11): error TS2300: Duplicate identifier 'IteratorResult'.
17+
src/internal/operators/windowTime.ts(115,5): error TS2322: Type 'string | number' is not assignable to type 'number'.
18+
Type 'string' is not assignable to type 'number'.
19+
src/internal/operators/windowTime.ts(121,5): error TS2322: Type 'string | number' is not assignable to type 'number'.
20+
Type 'string' is not assignable to type 'number'.
21+
../typescript/package/lib/lib.es2015.iterable.d.ts(41,6): error TS2300: Duplicate identifier 'IteratorResult'.
22+
23+
24+
25+
Standard error:
26+
npm ERR! code ELIFECYCLE
27+
npm ERR! errno 2
28+
npm ERR! @reactivex/rxjs@X.X.X-alpha.0 compile_dist_cjs: `tsc -p ./tsconfig/tsconfig.cjs.json`
29+
npm ERR! Exit status 2
30+
npm ERR!
31+
npm ERR! Failed at the @reactivex/rxjs@X.X.X-alpha.0 compile_dist_cjs script.
32+
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
33+
npm ERR! A complete log of this run can be found in:
34+
npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log
35+
ERROR: "compile_dist_cjs" exited with 2.
36+
npm ERR! code ELIFECYCLE
37+
npm ERR! errno 1
38+
npm ERR! @reactivex/rxjs@X.X.X-alpha.0 build_cjs: `npm-run-all clean_dist_cjs compile_dist_cjs`
39+
npm ERR! Exit status 1
40+
npm ERR!
41+
npm ERR! Failed at the @reactivex/rxjs@X.X.X-alpha.0 build_cjs script.
42+
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
43+
npm ERR! A complete log of this run can be found in:
44+
npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log
45+
ERROR: "build_cjs" exited with 1.
46+
npm ERR! code ELIFECYCLE
47+
npm ERR! errno 1
48+
npm ERR! @reactivex/rxjs@X.X.X-alpha.0 build_all: `npm-run-all clean_dist copy_sources build_cjs build_esm5 build_esm2015 build_esm5_for_rollup build_umd build_types generate_packages`
49+
npm ERR! Exit status 1
50+
npm ERR!
51+
npm ERR! Failed at the @reactivex/rxjs@X.X.X-alpha.0 build_all script.
52+
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
53+
npm ERR! A complete log of this run can be found in:
54+
npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log

tests/cases/docker/rxjs/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:10
2+
RUN git clone https://github.com/ReactiveX/rxjs /rxjs
3+
WORKDIR /rxjs
4+
RUN git pull
5+
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
6+
RUN mkdir /typescript
7+
RUN tar -xzvf /typescript.tgz -C /typescript
8+
RUN rm ./package-lock.json
9+
RUN npm i -D typescript@/typescript/package
10+
RUN npm install
11+
# Set entrypoint back to bash (`node` base image made it `node`)
12+
ENTRYPOINT [ "/bin/bash", "-c" , "exec \"${@:0}\";"]
13+
# Build
14+
CMD npm run build_all

0 commit comments

Comments
 (0)