mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 07:18:06 +08:00
2.71.0-r0 release
Update jenkins to 2.71.
This commit is contained in:
@@ -3,15 +3,15 @@ LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages libc6 libcomerr2 libcurl3 libffi6 libgcc1 libgcrypt20 libglib2.0-0 libgmp10 libgnutls-deb0-28 libgpg-error0 libgssapi-krb5-2 libhogweed2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libnettle4 libp11-kit0 libpcre3 librtmp1 libsasl2-2 libselinux1 libssh2-1 libssl1.0.0 libstdc++6 libtasn1-6 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 openssh-client zlib1g
|
||||
RUN bitnami-pkg install java-1.8.131-0 --checksum 5b122a36c8ba44e2f9eb8cbb9b62dd87963742c46f85a04019115d2d43c69e33
|
||||
RUN bitnami-pkg install java-1.8.141-0 --checksum 5e3e833f2899154285a7feb3d1511f26493f6091774ea90698c71866629991ff
|
||||
RUN bitnami-pkg unpack tomcat-8.0.45-0 --checksum 60daf4854d9db0cb2bbe65510b25a6f861f59374eeaef27d8e7b8ce3faa76b01
|
||||
RUN bitnami-pkg install git-2.14.0-rc0-0 --checksum 9a880f27ee8a6eafbc8f30fc14386b3f51622bf058b7335506e45caa1b8c44f2
|
||||
RUN bitnami-pkg unpack jenkins-2.70.0-0 --checksum a745d0356afb562cda082b2385db4506aa2fba7ea68e9ff9a7274542347f11b5
|
||||
RUN bitnami-pkg unpack jenkins-2.71.0-0 --checksum 1b2bd7c58823b6dc868953c9bf034f7c5b95c0e4ae3c37e8826e5df2a083417c
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
ENV BITNAMI_APP_NAME="jenkins" \
|
||||
BITNAMI_IMAGE_VERSION="2.70.0-r0" \
|
||||
BITNAMI_IMAGE_VERSION="2.71.0-r0" \
|
||||
JENKINS_PASSWORD="bitnami" \
|
||||
JENKINS_USERNAME="user" \
|
||||
PATH="/opt/bitnami/java/bin:/opt/bitnami/tomcat/bin:/opt/bitnami/git/bin:$PATH" \
|
||||
|
||||
@@ -1,31 +1,55 @@
|
||||
machine:
|
||||
services:
|
||||
- docker
|
||||
environment:
|
||||
RELEASE_SERIES_LIST: 2
|
||||
LATEST_STABLE: 2
|
||||
IMAGE_NAME: jenkins
|
||||
CHART_NAME: jenkins
|
||||
CHART_REPO: https://github.com/bitnami/charts
|
||||
DOCKER_PROJECT: bitnami
|
||||
GCLOUD_PROJECT: bitnami-containers
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
working_directory: /workdir
|
||||
docker:
|
||||
- image: docker:17.06.0-ce-git
|
||||
environment:
|
||||
RELEASE_SERIES_LIST: "2"
|
||||
LATEST_STABLE: "2"
|
||||
IMAGE_NAME: jenkins
|
||||
CHART_NAME: jenkins
|
||||
CHART_REPO: https://github.com/bitnami/charts
|
||||
DOCKER_PROJECT: bitnami
|
||||
GCLOUD_PROJECT: bitnami-containers
|
||||
|
||||
dependencies:
|
||||
override:
|
||||
- docker info
|
||||
- gcloud version
|
||||
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-pull-cache.sh | bash -
|
||||
|
||||
test:
|
||||
override:
|
||||
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-image-test.sh | bash -
|
||||
steps:
|
||||
- checkout
|
||||
- setup_remote_docker:
|
||||
version: 17.06.0-ce
|
||||
- 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
|
||||
|
||||
deployment:
|
||||
development:
|
||||
branch: master
|
||||
commands:
|
||||
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-development-image.sh | bash -
|
||||
release:
|
||||
tag: /^[0-9].*-r[0-9]+$/
|
||||
commands:
|
||||
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-release-image.sh | bash -
|
||||
- echo "workaround make tags run in 2.0 - https://discuss.circleci.com/t/git-tag-deploys-in-2-0/9493/8"
|
||||
|
||||
Reference in New Issue
Block a user