File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,13 @@ functions:
96
96
handler : ./external-ip
97
97
image : ${SERVER:-ghcr.io}/${OWNER:-openfaas}/external-ip-fn:${TAG:-latest}
98
98
99
+ ubuntu :
100
+ lang : dockerfile
101
+ handler : ./ubuntu
102
+ image : ${SERVER:-ghcr.io}/${OWNER:-openfaas}/ubuntu:${TAG:-latest}
103
+
104
+
99
105
configuration :
100
106
templates :
101
107
- name : golang-middleware
102
108
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