This commit is contained in:
parent
3ca3f31d8d
commit
feb2f9c1ac
10 changed files with 338 additions and 124 deletions
14
tests/containers/Containerfile.alpine
Normal file
14
tests/containers/Containerfile.alpine
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM alpine:latest
|
||||
MAINTAINER Juno Takano juno@jutty.dev
|
||||
USER root
|
||||
|
||||
# Setup tooling
|
||||
RUN apk add curl clang
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
|
||||
# Install
|
||||
RUN echo "root_node = 'test'" > /root/graph.toml
|
||||
RUN $HOME/.cargo/bin/cargo install --git https://codeberg.org/jutty/en
|
||||
|
||||
# Launch
|
||||
CMD ["/root/.cargo/bin/en", "-p", "3008", "-g", "/root/graph.toml"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue