1.22.0-debian-10-r0 release

This commit is contained in:
Bitnami Bot
2022-04-21 14:14:49 +00:00
committed by Bitnami Containers
parent 465f6c9ca8
commit a65f16ffc5
8 changed files with 127 additions and 2 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.22.0-0-linux-amd64-debian-10.tar.gz && \
echo "af3fd081a74490af1e0f5c1613bf54a1797c82c4801815fd21b81f0863ff9f8f /tmp/bitnami/pkg/cache/envoy-1.22.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/envoy-1.22.0-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/envoy-1.22.0-0-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 APP_VERSION="1.22.0" \
BITNAMI_APP_NAME="envoy" \
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.22

View File

@@ -0,0 +1,58 @@
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
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.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": "af3fd081a74490af1e0f5c1613bf54a1797c82c4801815fd21b81f0863ff9f8f",
"distro": "debian-10",
"type": "NAMI",
"version": "1.22.0-0"
}
}

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

@@ -28,6 +28,7 @@ $ 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.22`, `1.22-debian-10`, `1.22.0`, `1.22.0-debian-10-r0`, `latest` (1.22/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.22.0-debian-10-r0/1.22/debian-10/Dockerfile)
* [`1.21`, `1.21-debian-10`, `1.21.1`, `1.21.1-debian-10-r57` (1.21/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.21.1-debian-10-r57/1.21/debian-10/Dockerfile)
* [`1.20`, `1.20-debian-10`, `1.20.2`, `1.20.2-debian-10-r57` (1.20/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.20.2-debian-10-r57/1.20/debian-10/Dockerfile)
* [`1.19`, `1.19-debian-10`, `1.19.3`, `1.19.3-debian-10-r57` (1.19/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.19.3-debian-10-r57/1.19/debian-10/Dockerfile)
@@ -52,7 +53,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.22/debian-10'
```
## Configuration

View File

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