mirror of
https://github.com/bitnami/containers.git
synced 2026-02-11 05:37:27 +08:00
1.22.0-debian-11-r0 release
This commit is contained in:
committed by
Bitnami Containers
parent
aaf607bf52
commit
b358efba8b
26
bitnami/envoy/1.22/debian-11/Dockerfile
Normal file
26
bitnami/envoy/1.22/debian-11/Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM docker.io/bitnami/minideb:bullseye
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
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-11.tar.gz && \
|
||||
echo "a58894e89012a81acecdd37abd026a715bbb39d422c8764ff76bc4c76bb11502 /tmp/bitnami/pkg/cache/envoy-1.22.0-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/envoy-1.22.0-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/envoy-1.22.0-0-linux-amd64-debian-11.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" ]
|
||||
4
bitnami/envoy/1.22/debian-11/docker-compose.yml
Normal file
4
bitnami/envoy/1.22/debian-11/docker-compose.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
version: '2'
|
||||
services:
|
||||
envoy:
|
||||
image: docker.io/bitnami/envoy:1.22
|
||||
58
bitnami/envoy/1.22/debian-11/examples/frontend.yaml
Normal file
58
bitnami/envoy/1.22/debian-11/examples/frontend.yaml
Normal 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
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"envoy": {
|
||||
"arch": "amd64",
|
||||
"digest": "a58894e89012a81acecdd37abd026a715bbb39d422c8764ff76bc4c76bb11502",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.22.0-0"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
24
bitnami/envoy/1.22/debian-11/prebuildfs/usr/sbin/install_packages
Executable file
24
bitnami/envoy/1.22/debian-11/prebuildfs/usr/sbin/install_packages
Executable 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
|
||||
@@ -28,7 +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-11`, `1.22.0`, `1.22.0-debian-11-r-1`, `latest` (1.22/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.22.0-debian-11-r-1/1.22/debian-11/Dockerfile)
|
||||
* [`1.22`, `1.22-debian-11`, `1.22.0`, `1.22.0-debian-11-r0`, `latest` (1.22/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.22.0-debian-11-r0/1.22/debian-11/Dockerfile)
|
||||
* [`1.21`, `1.21-debian-11`, `1.21.2`, `1.21.2-debian-11-r-1` (1.21/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.21.2-debian-11-r-1/1.21/debian-11/Dockerfile)
|
||||
* [`1.20`, `1.20-debian-11`, `1.20.3`, `1.20.3-debian-11-r0` (1.20/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.20.3-debian-11-r0/1.20/debian-11/Dockerfile)
|
||||
* [`1.19`, `1.19-debian-11`, `1.19.4`, `1.19.4-debian-11-r0` (1.19/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-envoy/blob/1.19.4-debian-11-r0/1.19/debian-11/Dockerfile)
|
||||
|
||||
Reference in New Issue
Block a user