191 Commits

Author SHA1 Message Date
Alex Ellis (OpenFaaS Ltd)
0d7ace76b6 Pin Alpine Linux patch version
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-05-06 17:43:02 +01:00
Alex Ellis (OpenFaaS Ltd)
5a1c9d925c Rename nodejs-npm to npm in sample packages
The legacy samples should not be used for anything at this
point, however this change is needed for the new alpine:3.15
base image.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-02-21 10:32:19 +00:00
Alex Ellis (OpenFaaS Ltd)
b4293967d2 Upgrade to alpine:3.15 where possible
Upgrades OS for some base images, no expected issues.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-02-21 10:30:22 +00:00
Alex Ellis (OpenFaaS Ltd)
a9a77f0eca Update to Alpine 3.14 for base images
3.13 has vulnerabilities

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2021-07-27 09:29:43 +01:00
Alex Ellis (OpenFaaS Ltd)
77be2f3403 Update to latest Alpine base image
Version alpine:3.13 is now available

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2021-01-31 09:23:55 +00:00
Alex Ellis (OpenFaaS Ltd)
83d3a1ef87 Publish multi-arch alpine base
This makes functions/alpine:latest into a multi-arch image.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-12-16 22:34:57 +00:00
Alex Ellis (OpenFaaS Ltd)
3f98c856e5 Remove Swarm references
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-12-16 10:01:21 +00:00
Alex Ellis (OpenFaaS Ltd)
28f45e7efa Update hey to pinned version
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-04-05 09:52:47 +01:00
Kyle Brennan
d55cba82f8 Add hey sample function
Signed-off-by: Kyle Brennan <kylos101@gmail.com>
2020-04-05 09:51:11 +01:00
Kyle Brennan
28e53aaf4b Updates for readability
Simplified language and reduced long running lines.

Signed-off-by: Kyle Brennan <kylos101@gmail.com>
2020-03-29 20:26:23 +01:00
Kyle Brennan
c3c1d0c2fe Add hey sample function
Use it to do load testing and observe scaling.

Signed-off-by: Kyle Brennan <kylos101@gmail.com>
2020-03-29 20:26:23 +01:00
Alex Ellis (OpenFaaS Ltd)
33ac99efd6 Set header properly
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-03-02 20:43:03 +00:00
Alex Ellis (OpenFaaS Ltd)
cd55a1b9fc Update to MB
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-03-02 20:35:21 +00:00
Alex Ellis (OpenFaaS Ltd)
52a42afbf6 Update nodeinfo with content-type
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-03-02 20:31:50 +00:00
Alex Ellis (OpenFaaS Ltd)
8d0996ad39 Add nodeinfo-http - a faster nodeinfo
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-03-01 11:12:54 +00:00
Thomas Schmidt
67598e58c5 Update projects to use Go 1.13
Fixes #1442

Signed-off-by: Thomas Schmidt <thomaschmidt@gmail.com>
2020-02-22 19:01:49 +00:00
Alex Ellis (OpenFaaS Ltd)
b45e2a52a4 Bump alpine to 3.11
There's a new release which appears to have no apparent down-
sides or breakages.

https://www.alpinelinux.org/posts/Alpine-3.11.2-released.html

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-27 10:08:02 +00:00
Alex Ellis
74bb257823 Update deprecated "faas" to "openfaas" in provider field
Needed due to CLI updates.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-01 08:48:27 +00:00
scott.eppler
4ac782e5a4 Update WebhookStash sample-function to run as non-root user
Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
e4da7de692 Update WebhookStash sample-function to use new approach
I used AlpineFunction as the example to follow as suggested by
    @alexellis

Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
57c98dc0be Update MarkdownRender sample-function to run as non-root user
Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
fbcec74fd4 Update MarkdownRender sample-function to use new approach
I used AlpineFunction as the example to follow as suggested by
    @alexellis

Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
932d4449cb Update nmap sample-function to run as non-root user
Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
scott.eppler
929dfb172a Update nmap sample-function to use new approach
I used AlpineFunction as the example to follow as suggested by @alexellis

Signed-off-by: scott.eppler <scott.eppler@coda.global>
2019-10-15 10:43:34 +01:00
Alex Ellis (OpenFaaS Ltd)
d272bfb781 Fix adduser/addgroup
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-22 15:48:23 +01:00
Alex Ellis (OpenFaaS Ltd)
cdfa01208d Bump versions
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-08-22 15:48:23 +01:00
Pau Rosello
2b37a0133a Non root user and fwatchdow standarization
AlpineFunction additional Dockerfiles
Fix Coffe, node nonroot user and change workdir
DnCore nonroot and updated to 2.1, new README
Fix golang user and watchdog
Java user and watchdog fix
Watchdog and user for node image
Fix python user and watchdog
Fix R username and watchdog
Captainsintent user and fwatchdog
ChangeColorIntent change username, fwatchdog and directory
CHelloWorld remove tmp, disabled lock, fwatchdog and user
DockerHubStats user, fwatchdog and dependencies
Change figlet to use base alpine image
Improve figlet ARM
Set base image GIF-Maker
MarkDownRender change base image
NodeInfo change base image
PhantomJS user and fwatchdog
Resize Image
SentimentAnalysis user and watchdog
WebhookStach change root image
Replace user faas with app
Upgrade alpine to latest version
Revert vendor folders
Upgrade alpine:3.9
2019-07-11 22:17:57 +01:00
Alex Ellis
0fab7fbe8b Update figlet and api-secret sample
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-25 21:25:38 +01:00
Alex Ellis
ab4d95c4d8 Update figlet's watchdog
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-25 21:22:26 +01:00
Alex Ellis
6799f61f12 Update nodeinfo/alpinefunction to latest mulit-stage
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-25 21:19:48 +01:00
Carlos Panato
8fe40406fa redirect to another sample
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-06-06 18:55:43 +01:00
Carlos Panato
86b37acae7 update dockerfile to add user
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-06-06 18:55:43 +01:00
Alex Ellis
e903f0ef73 Update sentiment-analysis to non-root user
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-23 19:03:17 +01:00
Alex Ellis
8ef52ce806 Update Dockerfiles to latest watchdog
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-22 10:28:22 +01:00
Kay
348b2b5105 corrected typo in example function list in readme
Signed-off-by: Kay <kay.hansge@interdigital.com>
2019-02-14 18:38:41 +00:00
Alex Ellis (VMware)
6ee07a7ba9 Update gateway URL to default for helloc example
- this caused confusion for a user who had logged in for
"127.0.0.1", but not for "localhost" then saw an error when
deploying and trying to access "localhost" for which there
was no credential available.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-27 21:29:03 +00:00
Ron Rivera
33800a20d8 Update watchdog to 0.9.14 for sample functions
We need to update the watchdog version for sample functions to 0.9.14
including all references in markdown files.

Signed-off-by: Ron Rivera <roncrivera@gmail.com>
2019-01-13 08:40:07 +00:00
Alex Ellis (VMware)
bc4079f722 Update alpinefunction to latest watchdog
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2019-01-10 14:51:42 +00:00
Martin Dekov (VMware)
ade5f32513 Bump files to use alpine:3.8
Bump Dockerfiles and mentions of alpine 3.7 to be now
3.8

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-11-16 20:27:05 +00:00
Alex Ellis (VMware)
63e948fce1 Add sample function
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-10-25 12:57:02 +01:00
Radoslav Dimitrov
204c0d7f9a Bump the watchdog version to 0.9.6
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-10-19 08:45:05 +01:00
Alex Ellis (VMware)
1dcc887554 Bump figlet version
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-10-09 16:55:36 +01:00
Alex Ellis (VMware)
6df48fbac3 Update Alpine base to 3.8
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-30 21:20:00 +00:00
Alex Ellis (VMware)
f6230e9e83 Update sample functions
- the path was converted to lowercase which meant the samples
would not build, this fixes that error.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-19 21:20:15 +01:00
Martin Dekov (VMware)
4d73e21906 Bump watchdog to 0.9.4
Bumping the watchdog to 0.9.4 in
mentioned places

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-09-19 21:04:53 +01:00
Alex Ellis (VMware)
b786104f3a Rename nodeinfo image to match store
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-15 14:25:31 +01:00
Radoslav Dimitrov
c062e4dbde Sample-functions: Get watchdog using curl instead of ADD - arm64
Convert all sample-functions to use curl to get the watchdog as
it can be cached by Docker. Issue #841

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-09-06 15:03:10 +01:00
Radoslav Dimitrov
c28747890c Sample-functions: Get watchdog using curl instead of ADD - armhf
Convert all sample-functions to use curl to get the watchdog as
it can be cached by Docker. Issue #841

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-09-06 15:03:10 +01:00
Radoslav Dimitrov
cdbd25c0fb Sample-functions: Get watchdog using curl instead of ADD - amd64
Convert all sample-functions to use curl to get the watchdog as
it can be cached by Docker. Issue #841

Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-09-06 15:03:10 +01:00
Alex Ellis (VMware)
a99ad5708b Move watchdog to latest version in samples
Moves to 0.9.0

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-30 11:20:52 +01:00