File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,13 @@ functions:
9696 handler : ./external-ip
9797 image : ${SERVER:-ghcr.io}/${OWNER:-openfaas}/external-ip-fn:${TAG:-latest}
9898
99+ ubuntu :
100+ lang : dockerfile
101+ handler : ./ubuntu
102+ image : ${SERVER:-ghcr.io}/${OWNER:-openfaas}/ubuntu:${TAG:-latest}
103+
104+
99105configuration :
100106 templates :
101107 - name : golang-middleware
102108 source : https://github.com/openfaas/golang-http-template
103-
Original file line number Diff line number Diff line change 1+ FROM ghcr.io/openfaas/classic-watchdog:0.3.2 AS watchdog
2+
3+ FROM ubuntu:24.04
4+
5+ COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
6+ RUN chmod +x /usr/bin/fwatchdog
7+
8+ USER 1000
9+
10+ ENV fprocess="cat"
11+
12+ HEALTHCHECK --interval=3s CMD [ -e /tmp/.lock ] || exit 1
13+ CMD ["fwatchdog" ]
You can’t perform that action at this time.
0 commit comments