0.2.1-debian-8-r0 release

Initial release version 0.2.1
This commit is contained in:
Bitnami Bot
2018-07-12 16:28:16 +00:00
parent 10888b9cf2
commit b7cd22d654
4 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
FROM bitnami/minideb:jessie as buildenv
RUN install_packages ca-certificates wget
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/metrics-server-0.2.1-0-linux-x64-debian-8.tar.gz && \
echo "991243b4eb9c78369ecc8a2484f7d8f777754822d5fcb24806a8f4ee11c3647e /tmp/bitnami/pkg/cache/metrics-server-0.2.1-0-linux-x64-debian-8.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/metrics-server-0.2.1-0-linux-x64-debian-8.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/metrics-server-0.2.1-0-linux-x64-debian-8.tar.gz
##################
FROM bitnami/minideb:jessie
LABEL maintainer "Bitnami <containers@bitnami.com>"
COPY --from=buildenv /opt/bitnami/metrics-server /opt/bitnami/metrics-server
ENV BITNAMI_APP_NAME="metrics-server" \
BITNAMI_IMAGE_VERSION="0.2.1-debian-8-r0" \
PATH="/opt/bitnami/metrics-server/bin:$PATH"
RUN install_packages ca-certificates
EXPOSE 443
WORKDIR /opt/bitnami/metrics-server
USER 1001
ENTRYPOINT ["metrics-server"]

View File

@@ -0,0 +1,7 @@
version: '2'
services:
metrics-server:
image: bitnami/metrics-server:0
ports:
- '443:443'

View File

@@ -0,0 +1,65 @@
[![CircleCI](https://circleci.com/gh/bitnami/bitnami-docker-metrics-server/tree/master.svg?style=shield)](https://circleci.com/gh/bitnami/bitnami-docker-metrics-server/tree/master)
# What is Metrics Server?
Metrics Server is a cluster-wide aggregator of resource usage data. Metrics Server collects metrics from the Summary API, exposed by Kubelet on each node.
[https://github.com/kubernetes-incubator/metrics-server](https://github.com/kubernetes-incubator/metrics-server)
# TL;DR;
Deploy Metrics Server on your [Kubernetes cluster](https://github.com/kubernetes/heapster/tree/master/docs).
```bash
$ docker run --name metrics-server bitnami/metrics-server:latest
```
# Why use Bitnami Images?
* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
* With Bitnami images the latest bug fixes and features are available as soon as possible.
* Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs.
* Bitnami images are built on CircleCI and automatically pushed to the Docker Hub.
* All our images are based on [minideb](https://github.com/bitnami/minideb) a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading linux distribution.
# Supported tags and respective `Dockerfile` links
* [`0-debian-8`, `0.2.1-debian-8-r0` (0/debian-8/Dockerfile)](https://github.com/bitnami/bitnami-docker-metrics-server/blob/0.2.1-debian-8-r0/0/debian-8/Dockerfile)
* [`0-ol-7`, `0.0.0-ol-7-r0` (0/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-metrics-server/blob/0.0.0-ol-7-r0/0/ol-7/Dockerfile)
* [`0-debian-9`, `0.0.0-debian-9-r0`, `0`, `0.0.0`, `0.0.0-r0`, `latest` (0/Dockerfile)](https://github.com/bitnami/bitnami-docker-metrics-server/blob/0.0.0-debian-9-r0/0/Dockerfile)
Subscribe to project updates by watching the [bitnami/metrics-server GitHub repo](https://github.com/bitnami/bitnami-docker-metrics-server).
# Configuration
For further documentation, please check [here](https://github.com/kubernetes-incubator/metrics-server).
# Contributing
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/bitnami-docker-metrics-server/issues), or submit a [pull
request](https://github.com/bitnami/bitnami-docker-metrics-server/pulls) with your contribution.
# Issues
<!-- If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/bitnami-docker-metrics-server/issues). For us to provide better support, be sure to include the following information in your issue: -->
- Host OS and version
- Docker version (`docker version`)
- Output of `docker info`
- Version of this container
- The command you used to run the container, and any relevant output you saw (masking any sensitive information)
# License
Copyright 2018 Bitnami
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -0,0 +1,65 @@
version: 2
jobs:
build:
working_directory: /workdir
docker:
- image: docker:17.06.0-ce-git
environment:
RELEASE_SERIES_LIST: "0"
LATEST_STABLE: "0"
DISTRIBUTIONS_LIST: "debian-8,debian-9,ol-7"
IMAGE_NAME: metrics-server
DOCKER_PROJECT: bitnami
QUAY_PROJECT: bitnami
GCLOUD_PROJECT: bitnami-containers
AZURE_PROJECT: bitnami
steps:
- checkout
- setup_remote_docker:
version: 17.06.0-ce
- run:
name: Upgrade system packages (workaround - https://github.com/docker-library/docker/issues/72)
command: |
apk upgrade --no-cache
- run:
name: Install dependencies
command: |
apk add --no-cache curl bash coreutils
- run:
name: Docker info
command: |
docker version
docker info
- restore_cache:
keys:
- cache-{{ .Branch }}
paths:
- /cache/layers.tar
- run:
name: Build docker image
command: |
curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-image-test.sh | bash -
- save_cache:
key: cache-{{ .Branch }}-{{ epoch }}
paths:
- /cache/layers.tar
- deploy:
name: Publish docker image
command: |
if [ -n "${CIRCLE_TAG}" ]; then
curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-release-image.sh | bash -
elif [ "${CIRCLE_BRANCH}" == "master" ]; then
curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-development-image.sh | bash -
fi
workflows:
version: 2
build-and-deploy:
jobs:
- build:
filters:
branches:
only: /.*/
tags:
only: /^.*(?<!-rhel-7)-r[0-9]+$/