mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 20:15:34 +00:00
11 lines
280 B
Docker
11 lines
280 B
Docker
FROM node:11.2.0-stretch as base
|
|
WORKDIR /code
|
|
ADD . .
|
|
RUN cp flatc_debian_stretch flatc
|
|
WORKDIR /code/tests
|
|
RUN node --version
|
|
RUN ../flatc -b -I include_test monster_test.fbs unicode_test.json
|
|
RUN npm install
|
|
RUN npm run pretest
|
|
RUN node JavaScriptTest ./monster_test_generated
|