Commit Graph

7 Commits

Author SHA1 Message Date
Bruce Ashfield
cbad7151f1 demos/helloworld: fix S and UNPACKDIR
Adapt the demonstration helloworld appliication to fix a warning
about UNPACKDIR not being correct.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-15 19:50:00 +00:00
Chris Laplante
f38e46c8d2 app-container-curl: add space for IMAGE_INSTALL:append
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-12 23:14:10 +00:00
Chris Laplante
071c585f69 app-container: add space for IMAGE_INSTALL:append
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-11-12 23:14:05 +00:00
Bruce Ashfield
73a3374eb4 helloworkd-flask: convert WORKDIR references to UNPACKDIR
unpacked source files are now in UNPACKDIR, so we adjust our
operations to match.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
f20516d0fd app-container: temporarily copy contens of .inc file to recipe
Variable overrides have stopped working when this specific .inc
file are used. To keep the demo working, we temporarily copy the
exact contents of the .inc file into the recipe .. and all is well.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-09-12 16:45:26 -04:00
Bruce Ashfield
c5ed5aa1e5 demo: add a sample container that just contains curl
This is useful for demonstrating how entry points and functionality
can be delivered in containers

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-09-12 16:45:26 -04:00
Bruce Ashfield
6fe326b680 demo: add flask and k3s deployment files
To enable demonstrations of application container builds, and deployment
to k*s clusters, we introduce a simple recipes-demo/ structure with a
sample flask application and deployment yaml.

i.e. ensure that "helloworld-flask-deploy" is installed on your image,
and then:

 % kubectl apply -f /etc/flask-app.yaml
 % kubectl label pods zeddii-pod new-label=yoctorule
 % kubectl expose pod zeddii-pod  --port=9000  --target-port=9000 --type=LoadBalancer --name=my-service

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-12-13 15:59:11 -05:00