mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 19:26:16 +02:00
Remove debian-10 directory
Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
This commit is contained in:
committed by
Bitnami Containers
parent
7b65c33e01
commit
9b71de589d
@@ -1,29 +0,0 @@
|
||||
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 procps tar wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/grafana-loki-2.5.0-0-linux-amd64-debian-10.tar.gz && \
|
||||
echo "66d75ec58c2e33aa0ab78644fdd97ae744d4aca72aaca6b473355d6a1554c184 /tmp/bitnami/pkg/cache/grafana-loki-2.5.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/grafana-loki-2.5.0-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/grafana-loki-2.5.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
|
||||
RUN mkdir -p /bitnami/grafana-loki/data /bitnami/grafana-loki/loki /bitnami/grafana-loki/wal && chmod -R g+rwX /bitnami/grafana-loki && ln -s /bitnami/grafana-loki/loki /loki && ln -s /bitnami/grafana-loki/data /data && ln -s /bitnami/grafana-loki/wal /wal
|
||||
|
||||
ENV APP_VERSION="2.5.0" \
|
||||
BITNAMI_APP_NAME="grafana-loki" \
|
||||
PATH="/opt/bitnami/grafana-loki/bin:$PATH"
|
||||
|
||||
EXPOSE 3100
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "loki" ]
|
||||
CMD [ "-config.file=/bitnami/grafana-loki/conf/loki.yaml" ]
|
||||
@@ -1,4 +0,0 @@
|
||||
version: '2'
|
||||
services:
|
||||
grafana-loki:
|
||||
image: docker.io/bitnami/grafana-loki:2
|
||||
@@ -1,70 +0,0 @@
|
||||
# This is a configuration to deploy Loki depending only on a storage solution
|
||||
# for example, an S3-compatible API like MinIO.
|
||||
# The ring configuration is based on the gossip memberlist and the index is shipped to storage
|
||||
# via Single Store (boltdb-shipper)
|
||||
|
||||
auth_enabled: false
|
||||
|
||||
server:
|
||||
http_listen_port: 3100
|
||||
|
||||
distributor:
|
||||
ring:
|
||||
kvstore:
|
||||
store: memberlist
|
||||
|
||||
ingester:
|
||||
lifecycler:
|
||||
ring:
|
||||
kvstore:
|
||||
store: memberlist
|
||||
replication_factor: 1
|
||||
final_sleep: 0s
|
||||
chunk_idle_period: 5m
|
||||
chunk_retain_period: 30s
|
||||
|
||||
memberlist:
|
||||
abort_if_cluster_join_fails: false
|
||||
|
||||
# Expose this port on all distributor, ingester
|
||||
# and querier replicas.
|
||||
bind_port: 7946
|
||||
|
||||
# You can use a headless k8s service for all distributor,
|
||||
# ingester and querier components.
|
||||
join_members:
|
||||
- loki-gossip-ring.loki.svc.cluster.local:7946
|
||||
|
||||
max_join_backoff: 1m
|
||||
max_join_retries: 10
|
||||
min_join_backoff: 1s
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
- from: 2020-05-15
|
||||
store: boltdb-shipper
|
||||
object_store: s3
|
||||
schema: v11
|
||||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
|
||||
storage_config:
|
||||
boltdb_shipper:
|
||||
active_index_directory: /loki/index
|
||||
cache_location: /loki/index_cache
|
||||
shared_store: s3
|
||||
|
||||
aws:
|
||||
s3: s3://access_key:secret_access_key@custom_endpoint/bucket_name
|
||||
s3forcepathstyle: true
|
||||
|
||||
limits_config:
|
||||
enforce_metric_name: false
|
||||
reject_old_samples: true
|
||||
reject_old_samples_max_age: 168h
|
||||
|
||||
compactor:
|
||||
working_directory: /data/compactor
|
||||
shared_store: s3
|
||||
compaction_interval: 5m
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"grafana-loki": {
|
||||
"arch": "amd64",
|
||||
"digest": "66d75ec58c2e33aa0ab78644fdd97ae744d4aca72aaca6b473355d6a1554c184",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "2.5.0-0"
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
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
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user