1.21.0-debian-10-r0 release

This commit is contained in:
Bitnami Bot 2022-02-11 10:13:23 +00:00
parent e60141fa1b
commit 93252941ee
8 changed files with 126 additions and 3 deletions

View File

@ -0,0 +1,26 @@
FROM docker.io/bitnami/minideb:buster
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip libc6 procps tar wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/envoy-1.21.0-1-linux-amd64-debian-10.tar.gz && \
echo "dfc41a5c9be233c310535bca98222de11e5d1890eefa9ddf6a26a279c664e962 /tmp/bitnami/pkg/cache/envoy-1.21.0-1-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/envoy-1.21.0-1-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/envoy-1.21.0-1-linux-amd64-debian-10.tar.gz
RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
ENV BITNAMI_APP_NAME="envoy" \
BITNAMI_IMAGE_VERSION="1.21.0-debian-10-r0" \
PATH="/opt/bitnami/envoy/bin:$PATH"
USER 1001
ENTRYPOINT [ "/opt/bitnami/envoy/bin/envoy" ]
CMD [ "-c", "/opt/bitnami/envoy/conf/envoy.yaml" ]

View File

@ -0,0 +1,4 @@
version: '2'
services:
envoy:
image: docker.io/bitnami/envoy:1.21

View File

@ -0,0 +1,56 @@
admin:
access_log_path: /tmp/admin_access.log
address:
socket_address: { address: 127.0.0.1, port_value: 8081 }
static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 8080 }
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: ingress_http
codec_type: AUTO
route_config:
name: local_route
virtual_hosts:
- name: local_service
domains: ["*"]
routes:
- match: { prefix: "/nginx" }
route: { cluster: service1, prefix_rewrite: "/" }
- match: { prefix: "/apache" }
route: { cluster: service2, prefix_rewrite: "/" }
http_filters:
- name: envoy.filters.http.router
clusters:
- name: service1
connect_timeout: 0.25s
type: STRICT_DNS
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: some_service
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: service1
port_value: 8080
- name: service2
connect_timeout: 0.25s
type: STRICT_DNS
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: some_service
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: service2
port_value: 8080

View File

@ -0,0 +1,9 @@
{
"envoy": {
"arch": "amd64",
"digest": "dfc41a5c9be233c310535bca98222de11e5d1890eefa9ddf6a26a279c664e962",
"distro": "debian-10",
"type": "NAMI",
"version": "1.21.0-1"
}
}

View File

@ -0,0 +1,3 @@
Bitnami containers ship with software bundles. You can find the licenses under:
/opt/bitnami/nami/COPYING
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt

View File

@ -0,0 +1,24 @@
#!/bin/sh
set -e
set -u
export DEBIAN_FRONTEND=noninteractive
n=0
max=2
until [ $n -gt $max ]; do
set +e
(
apt-get update -qq &&
apt-get install -y --no-install-recommends "$@"
)
CODE=$?
set -e
if [ $CODE -eq 0 ]; then
break
fi
if [ $n -eq $max ]; then
exit $CODE
fi
echo "apt failed, retrying"
n=$(($n + 1))
done
rm -r /var/lib/apt/lists /var/cache/apt/archives

View File

@ -31,7 +31,8 @@ $ docker run --name envoy bitnami/envoy:latest
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
* [`1.20`, `1.20-debian-10`, `1.20.1`, `1.20.1-debian-10-r67`, `latest` (1.20/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.20.1-debian-10-r67/1.20/debian-10/Dockerfile)
* [`1.21`, `1.21-debian-10`, `1.21.0`, `1.21.0-debian-10-r0`, `latest` (1.21/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.21.0-debian-10-r0/1.21/debian-10/Dockerfile)
* [`1.20`, `1.20-debian-10`, `1.20.1`, `1.20.1-debian-10-r67` (1.20/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.20.1-debian-10-r67/1.20/debian-10/Dockerfile)
* [`1.19`, `1.19-debian-10`, `1.19.1`, `1.19.1-debian-10-r160` (1.19/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.19.1-debian-10-r160/1.19/debian-10/Dockerfile)
* [`1.18`, `1.18-debian-10`, `1.18.4`, `1.18.4-debian-10-r163` (1.18/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.18.4-debian-10-r163/1.18/debian-10/Dockerfile)
* [`1.17`, `1.17-debian-10`, `1.17.4`, `1.17.4-debian-10-r162` (1.17/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.17.4-debian-10-r162/1.17/debian-10/Dockerfile)
@ -55,7 +56,7 @@ $ docker pull bitnami/envoy:[TAG]
If you wish, you can also build the image yourself.
```console
$ docker build -t bitnami/envoy:latest 'https://github.com/bitnami/bitnami-docker-envoy.git#master:1.20/debian-10'
$ docker build -t bitnami/envoy:latest 'https://github.com/bitnami/bitnami-docker-envoy.git#master:1.21/debian-10'
```
## Configuration

View File

@ -1,4 +1,4 @@
version: '2'
services:
envoy:
image: docker.io/bitnami/envoy:1.20
image: docker.io/bitnami/envoy:1.21