File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ Building from Docker
2
+ --------
3
+
4
+ Create the docker image
5
+ ``` bash
6
+ $ docker image build -t milewski-ctfp-pdf:1.0 .
7
+ ```
8
+
9
+ Run it interactively starting the nix-shell
10
+ ``` bash
11
+ $ docker container run -i -t --name ctfp milewski-ctfp-pdf:1.0 nix-shell
12
+ ```
13
+
14
+ Follow build directions in README.md
15
+
16
+ Copy build artifact(s) to local filesystem
17
+ ``` bash
18
+ docker cp ctfp:/usr/git/milewski-ctfp-pdf/out/... destfile
19
+ ```
Original file line number Diff line number Diff line change
1
+ FROM nixorg/nix:latest
2
+ ENV NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs/archive/release-19.03.tar.gz"
3
+ WORKDIR /usr/git
4
+ RUN git clone https://github.com/hmemcpy/milewski-ctfp-pdf.git
5
+ WORKDIR milewski-ctfp-pdf
6
+ RUN nix-shell
You can’t perform that action at this time.
0 commit comments