Add plugin build recipe
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@@ -0,0 +1 @@
|
||||
target
|
||||
7
.woodpecker.yml
Executable file
7
.woodpecker.yml
Executable file
@@ -0,0 +1,7 @@
|
||||
pipeline:
|
||||
build-plugin:
|
||||
image: docker
|
||||
commands:
|
||||
- docker build -t historian-plugin .
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
10
Dockerfile
Executable file
10
Dockerfile
Executable file
@@ -0,0 +1,10 @@
|
||||
FROM rust:1-bookworm
|
||||
|
||||
WORKDIR /usr/src/historian
|
||||
COPY . .
|
||||
|
||||
RUN cargo install --path .
|
||||
|
||||
ENV INPUT=.
|
||||
ENV OUTPUT=output
|
||||
CMD historian $INPUT --render-to $OUTPUT
|
||||
Reference in New Issue
Block a user