We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52c0637 commit 6212fafCopy full SHA for 6212faf
Dockerfile
@@ -0,0 +1,20 @@
1
+# Get simple debian image
2
+FROM debian:latest
3
+LABEL org.opencontainers.image.source=https://github.com/gbdev/gb-asm-tutorial
4
+SHELL ["bash", "-lc"]
5
+RUN apt update
6
+RUN apt install curl -y
7
+
8
+# Install rust and mdbook
9
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
10
+RUN apt install gcc -y
11
+RUN source "$HOME/.cargo/env"
12
+RUN cargo install mdbook@0.4.52
13
14
+COPY . /code
15
+WORKDIR /code
16
17
+# Serve gb-asm-tutorial
18
+# See https://github.com/rust-lang/mdBook/issues/2226
19
+RUN mdbook build
20
+CMD mdbook serve --hostname 0.0.0.0 & mdbook watch
0 commit comments