Browse Source

Initial commit

master
Drew Short 5 years ago
commit
8c6a10bda1
  1. 10
      Dockerfile
  2. 5
      README.md
  3. 30
      pipeline.yml
  4. 1
      tag
  5. 11
      upload_pipeline.sh

10
Dockerfile

@ -0,0 +1,10 @@
FROM debian:buster-slim
LABEL maintainer="Drew Short <warrick@sothr.com>"
RUN apt-get -y update \
&& apt-get -y --no-install-recommends install \
jq \
&& rm -Rf /var/lib/apt/lists/*
WORKDIR /root

5
README.md

@ -0,0 +1,5 @@
# jq
[![Concourse](https://concourse.nulloctet.com/api/v1/teams/docker/pipelines/jq/jobs/build-image/badge)](https://concourse.nulloctet.com/teams/docker/pipelines/jq)
Docker image build for using jq to work with json files

30
pipeline.yml

@ -0,0 +1,30 @@
---
resources:
- name: git-resource
type: git
icon: git
source:
uri: https://git.nulloctet.com/docker/jq.git
ignore_paths:
- pipeline.yml
- upload_pipeline.sh
- README.md
- name: git-resource-image
type: docker-image
icon: docker
source:
repository: ((nexus_docker_write.host))/sothr/jq
username: ((nexus_docker_write.username))
password: ((nexus_docker_write.password))
jobs:
- name: build-image
plan:
- get: git-resource
trigger: true
- put: git-resource-image
params:
build: git-resource
tag_file: git-resource/tag
tag_as_latest: true
get_params: {skip_download: true}

1
tag

@ -0,0 +1 @@
1.0.0

11
upload_pipeline.sh

@ -0,0 +1,11 @@
#!/usr/bin/env bash
TEAM=docker
PIPELINE=jq
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
pushd "${DIR}" || true
fly -t ${TEAM} set-pipeline --pipeline ${PIPELINE} --config pipeline.yml
popd || true
Loading…
Cancel
Save