-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add demos: 01-vocab, 02-tro-examples, and 03-validate-tro-declaration
- Loading branch information
Showing
65 changed files
with
7,127 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
[Makefile*] | ||
tab_width = 4 | ||
indent_size = 4 | ||
indent_style = tab | ||
trim_trailing_whitespace = false | ||
|
||
[*-config] | ||
tab_width = 4 | ||
indent_size = 4 | ||
indent_style = tab | ||
trim_trailing_whitespace = false | ||
|
||
[Dockerfile-*] | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
ARG PARENT_IMAGE=cirss/repro-parent:latest | ||
|
||
FROM ${PARENT_IMAGE} | ||
|
||
# copy exports into new Docker image | ||
COPY exports /repro/exports | ||
|
||
# copy the repro boot setup script from the distribution and run it | ||
ADD ${REPRO_DIST}/boot-setup /repro/dist/ | ||
RUN bash /repro/dist/boot-setup | ||
|
||
USER repro | ||
|
||
# install required external repro modules | ||
RUN repro.require python-dev master ${REPROS_DEV} --default --code | ||
RUN repro.require shell-notebook master ${REPROS_DEV} | ||
RUN repro.require graphviz-runtime master ${REPROS_DEV} --util | ||
|
||
RUN sudo apt install graphviz-dev -y | ||
|
||
# install contents of the exports directory as a repro module | ||
RUN repro.require trov-demos exports --demo | ||
|
||
# use a local directory named tmp for each demo | ||
RUN repro.env REPRO_DEMO_TMP_DIRNAME tmp | ||
|
||
CMD /bin/bash -il |
Oops, something went wrong.