mirror of
https://github.com/bitnami/containers.git
synced 2026-03-02 08:04:33 +08:00
0.2.5-r0 release
Initial release version 0.2.5
This commit is contained in:
@@ -1,37 +1,22 @@
|
||||
FROM bitnami/minideb:jessie as development
|
||||
FROM bitnami/minideb:jessie as buildenv
|
||||
|
||||
ARG CERT_MANAGER_VERSION=0.2.3
|
||||
ARG DEP_VERSION=0.4.1
|
||||
ARG GO_VERSION=1.9.4
|
||||
RUN install_packages ca-certificates wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/acmesolver-0.2.5-0-linux-x64-debian-8.tar.gz && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/acmesolver-0.2.5-0-linux-x64-debian-8.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/acmesolver-0.2.5-0-linux-x64-debian-8.tar.gz
|
||||
|
||||
RUN install_packages wget ca-certificates git make tar wget gcc curl libltdl7 libdevmapper-dev
|
||||
|
||||
RUN wget -nc https://dl.google.com/go/go$GO_VERSION.linux-amd64.tar.gz && \
|
||||
tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
|
||||
|
||||
ENV GOPATH=/
|
||||
ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
|
||||
|
||||
RUN wget -nc https://github.com/golang/dep/releases/download/v$DEP_VERSION/dep-linux-amd64 && \
|
||||
chmod +x dep-linux-amd64 && \
|
||||
mv dep-linux-amd64 $GOPATH/bin/dep
|
||||
|
||||
RUN mkdir -p /src/ && \
|
||||
cd /src/ && \
|
||||
git clone -b v${CERT_MANAGER_VERSION} --depth 1 https://github.com/jetstack/cert-manager.git && \
|
||||
cd cert-manager && \
|
||||
dep ensure -v && \
|
||||
make acmesolver
|
||||
##################
|
||||
|
||||
FROM bitnami/minideb:jessie
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
COPY --from=buildenv /opt/bitnami/acmesolver /opt/bitnami/acmesolver
|
||||
ENV BITNAMI_APP_NAME="acmesolver" \
|
||||
BITNAMI_IMAGE_VERSION="0.2.5-r0" \
|
||||
PATH="/opt/bitnami/acmesolver/bin:$PATH"
|
||||
|
||||
RUN install_packages ca-certificates
|
||||
|
||||
COPY --from=development /src/cert-manager/hack/build/dockerfiles/cert-manager-acmesolver_linux_amd64 /opt/bitnami/cert-manager/bin/acmesolver
|
||||
|
||||
ENV PATH="/opt/bitnami/cert-manager/bin:$PATH"
|
||||
WORKDIR /opt/bitnami/cert-manager
|
||||
|
||||
WORKDIR /opt/bitnami/acmesolver
|
||||
USER 1001
|
||||
ENTRYPOINT ["/opt/bitnami/cert-manager/bin/acmesolver"]
|
||||
ENTRYPOINT ["/opt/bitnami/acmesolver/bin/acmesolver"]
|
||||
|
||||
5
bitnami/acmesolver/0/docker-compose.yml
Normal file
5
bitnami/acmesolver/0/docker-compose.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
acmesolver:
|
||||
image: bitnami/acmesolver:0
|
||||
@@ -1,15 +1,16 @@
|
||||
[](https://circleci.com/gh/bitnami/bitnami-docker-acmesolver/tree/master)
|
||||
[](https://circleci.com/gh/bitnami/bitnami-docker-cert-manager/tree/master)
|
||||
|
||||
# What is Acmesolver?
|
||||
|
||||
Acmesolver is a part of the cert-manager project.
|
||||
cert-manager is a Kubernetes add-on to automate the management and issuance of TLS certificates from various issuing sources.
|
||||
Cert-manager is a Kubernetes add-on to automate the management and issuance of TLS certificates from various issuing sources.
|
||||
|
||||
It will ensure certificates are valid and up to date periodically, and attempt to renew certificates at an appropriate time before expiry.
|
||||
|
||||
[https://github.com/jetstack/cert-manager](https://github.com/jetstack/cert-manager)
|
||||
|
||||
# Pre-requisites
|
||||
|
||||
Kubernetes cluster with `CustomResourceDefinition` or `ThirdPartyResource support`
|
||||
|
||||
# Why use Bitnami Images?
|
||||
@@ -21,6 +22,7 @@ Kubernetes cluster with `CustomResourceDefinition` or `ThirdPartyResource suppor
|
||||
* 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.
|
||||
|
||||
# Further documentation
|
||||
|
||||
For further documentation, please check [here](https://github.com/jetstack/cert-manager/blob/master/docs)
|
||||
|
||||
# Contributing
|
||||
@@ -38,6 +40,7 @@ If you encountered a problem running this container, you can file an [issue](htt
|
||||
- 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");
|
||||
|
||||
@@ -9,6 +9,9 @@ jobs:
|
||||
LATEST_STABLE: "0"
|
||||
IMAGE_NAME: acmesolver
|
||||
DOCKER_PROJECT: bitnami
|
||||
QUAY_PROJECT: bitnami
|
||||
GCLOUD_PROJECT: bitnami-containers
|
||||
AZURE_PROJECT: bitnami
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
|
||||
Reference in New Issue
Block a user