Skip to content

Commit 0a2aad8

Browse files
weltekialexellis
authored andcommitted
Remove references to python3 template
Remove references to python3 template which has been deprecated. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent e8c1800 commit 0a2aad8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/cli/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ The OpenFaaS CLI provides a `--build-option` flag which enables named sets of na
219219
There are two ways to achieve this:
220220

221221
```bash
222-
faas-cli build --lang python3 --build-option dev [--build-option debug]
222+
faas-cli build --lang python3-http --build-option dev [--build-option debug]
223223
```
224224

225225
or in YAML:
@@ -272,13 +272,13 @@ RUN apk --no-cache add curl ${ADDITIONAL_PACKAGE} \
272272
There may be scenarios where a single native module needs to be added to a build. A single-package build option could be added as described above. Alternatively a package could be specified through a `--build-arg`.
273273

274274
```bash
275-
faas-cli build --lang python3 --build-arg ADDITIONAL_PACKAGE=jq
275+
faas-cli build --lang python3-http --build-arg ADDITIONAL_PACKAGE=jq
276276
```
277277

278278
In the event a `build-option` is set the effect will be cumulative:
279279

280280
```bash
281-
faas-cli build --lang python3 --build-option dev --build-arg ADDITIONAL_PACKAGE=jq
281+
faas-cli build --lang python3-http --build-option dev --build-arg ADDITIONAL_PACKAGE=jq
282282
```
283283

284284
The entries in the template's Dockerfile described in 1.0 above need to be present for this mode of operation.

docs/openfaas-pro/builder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ export PAYLOAD=$(kubectl get secret -n openfaas payload-secret -o jsonpath='{.da
6969
echo $PAYLOAD > $HOME/.openfaas/payload.txt
7070
```
7171

72-
Create a test function using the `python3` template, and set it to publish to `ttl.sh`, an ephemeral registry that doesn't require authentication:
72+
Create a test function using the `python3-http` template, and set it to publish to `ttl.sh`, an ephemeral registry that doesn't require authentication:
7373

7474
```bash
7575
faas-cli new --prefix ttl.sh/test-images \
76-
--lang python3 py-fn
76+
--lang python3-http py-fn
7777
```
7878

7979
Now, publish an image using the remote builder:

0 commit comments

Comments
 (0)