Skip to content

Commit 398e60b

Browse files
authored
Merge pull request #1 from Linkurious/feature/bootstrap
Boostrap docker-curl-jq Docker image
2 parents d34bb2c + c7b9faa commit 398e60b

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed

.bumpversion.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[bumpversion]
2+
current_version = 0.0.1
3+
commit = False
4+
tag = False
5+
serialize =
6+
{major}.{minor}.{patch}-{build}
7+
{major}.{minor}.{patch}
8+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<build>[\w_-]+\.\d+))?
9+
10+
[bumpversion:file:.version]

.version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.0.1

Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM ubuntu:20.04
2+
3+
RUN apt-get update -y && \
4+
apt-get install -y --no-install-recommends\
5+
ca-certificates=20210119~20.04.2 \
6+
curl=7.68.0-1ubuntu2.7 \
7+
dnsutils=1:9.16.1-0ubuntu2.8 \
8+
jq=1.6-1ubuntu0.20.04.1 \
9+
&& apt-get autoremove -y \
10+
&& apt-get clean -y \
11+
&& rm -rf /tmp/* /var/tmp/* /var/cache/apt/archives/* /var/lib/apt/lists/*
12+
13+
CMD ["curl"]
14+
15+
ARG BUILD_VERSION
16+
LABEL maintainer="Edward Nys <edward@linkurio.us>" \
17+
org.opencontainers.image.description="Linkurious curl-jq" \
18+
org.opencontainers.image.documentation="https://github.com/Linkurious/docker-curl-jq" \
19+
org.opencontainers.image.title="Helper image with curl and jq for Linkurious" \
20+
org.opencontainers.image.url="https://github.com/Linkurious/docker-curl-jq" \
21+
org.opencontainers.image.vendor="Linkurious" \
22+
org.opencontainers.image.version="${BUILD_VERSION}"

Jenkinsfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@Library('linkurious-shared')_
2+
3+
dockerJob {
4+
// General
5+
projectName = "linkurious/docker-curl-jq"
6+
dockerfileName = "Dockerfile"
7+
8+
//buildOnlyAfterUpload = true
9+
dockerBuildkit = 1
10+
11+
}
12+

0 commit comments

Comments
 (0)