docker build container
parent
383ae4fa8e
commit
1e1d4d13d5
@ -1,2 +1,2 @@
|
||||
jsonnet -J ./lib -S -c -m . .\src\docs.jsonnet
|
||||
jsonnet -J ./lib -c -m . .\src\schemata.jsonnet
|
||||
jsonnet -J ./lib -J . -S -c -m . ./src/docs.jsonnet
|
||||
jsonnet -J ./lib -J . -c -m . ./src/schemata.jsonnet
|
@ -0,0 +1,14 @@
|
||||
FROM alpine:3.17
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk add go
|
||||
|
||||
# Configure Go
|
||||
ENV GOROOT /usr/lib/go
|
||||
ENV GOPATH /go
|
||||
ENV PATH /go/bin:$PATH
|
||||
|
||||
RUN go install github.com/google/go-jsonnet/cmd/jsonnet@v0.19.1
|
||||
|
||||
WORKDIR /picc-doc
|
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker build --rm -t picc/picc-doc-build .
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"id": "light1",
|
||||
"name": "The First Light",
|
||||
"description": "Just a li'l' light."
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{
|
||||
"id": "living_room",
|
||||
"name": "Living Room",
|
||||
"description": "The living room.",
|
||||
"relationshios": [
|
||||
{
|
||||
"id": "living_room_temp",
|
||||
"name": "Temperature in the living room",
|
||||
"module": "Picc.Relationships.AverageTemperature",
|
||||
"entities": [
|
||||
"living_room",
|
||||
"therm1",
|
||||
"themr2"
|
||||
],
|
||||
"arg": {
|
||||
"prior_mean": 20,
|
||||
"prior_variance": 3
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -1 +1 @@
|
||||
import '../lib/entity.libsonnet'
|
||||
import 'entity.libsonnet'
|
||||
|
Loading…
Reference in New Issue