Skip to content

Remove references to python3 template #400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/cli/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ The OpenFaaS CLI provides a `--build-option` flag which enables named sets of na
There are two ways to achieve this:

```bash
faas-cli build --lang python3 --build-option dev [--build-option debug]
faas-cli build --lang python3-http --build-option dev [--build-option debug]
```

or in YAML:
Expand Down Expand Up @@ -272,13 +272,13 @@ RUN apk --no-cache add curl ${ADDITIONAL_PACKAGE} \
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`.

```bash
faas-cli build --lang python3 --build-arg ADDITIONAL_PACKAGE=jq
faas-cli build --lang python3-http --build-arg ADDITIONAL_PACKAGE=jq
```

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

```bash
faas-cli build --lang python3 --build-option dev --build-arg ADDITIONAL_PACKAGE=jq
faas-cli build --lang python3-http --build-option dev --build-arg ADDITIONAL_PACKAGE=jq
```

The entries in the template's Dockerfile described in 1.0 above need to be present for this mode of operation.
Expand Down
4 changes: 2 additions & 2 deletions docs/openfaas-pro/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ export PAYLOAD=$(kubectl get secret -n openfaas payload-secret -o jsonpath='{.da
echo $PAYLOAD > $HOME/.openfaas/payload.txt
```

Create a test function using the `python3` template, and set it to publish to `ttl.sh`, an ephemeral registry that doesn't require authentication:
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:

```bash
faas-cli new --prefix ttl.sh/test-images \
--lang python3 py-fn
--lang python3-http py-fn
```

Now, publish an image using the remote builder:
Expand Down