From b43064b5fc401cb7deb5e29f38b21ee1930df419 Mon Sep 17 00:00:00 2001 From: zontreck Date: Wed, 4 Sep 2024 18:34:15 -0700 Subject: [PATCH] Add alpine installer --- Jenkinsfile | 32 ++++++++++++++++++++++++++++++++ build.sh | 5 ++++- installers/alpine/Dockerfile | 6 ++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 installers/alpine/Dockerfile diff --git a/Jenkinsfile b/Jenkinsfile index ef5090c..ad373ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -162,6 +162,38 @@ pipeline { } } + stage("Build Installers") { + agent { + label 'dockermain' + } + + steps { + script { + sh ''' + #!/bin/bash + + docker build -t git.zontreck.com/ariascreations/yolks:installers_alpine installers/alpine + ''' + } + } + } + + stage("Push Installers") { + agent { + label 'dockermain' + } + + steps { + script { + sh ''' + #!/bin/bash + + docker push git.zontreck.com/ariascreations/yolks:installers_alpine + ''' + } + } + } + stage("Cleanup") { agent { label 'dockermain' diff --git a/build.sh b/build.sh index ca52be5..aea60ad 100755 --- a/build.sh +++ b/build.sh @@ -23,4 +23,7 @@ docker build -t git.zontreck.com/ariascreations/yolks:jdk21 java/21 docker build -t git.zontreck.com/ariascreations/yolks:wine_8.0 wine/8.0 docker build -t git.zontreck.com/ariascreations/yolks:wine_8.21 wine/8.21 docker build -t git.zontreck.com/ariascreations/yolks:wine_9.0 wine/9.0 -docker build -t git.zontreck.com/ariascreations/yolks:wine_9.16 wine/9.16 \ No newline at end of file +docker build -t git.zontreck.com/ariascreations/yolks:wine_9.16 wine/9.16 + +# Installers +docker build -t git.zontreck.com/ariascreations/yolks:installers_alpine installers/alpine \ No newline at end of file diff --git a/installers/alpine/Dockerfile b/installers/alpine/Dockerfile new file mode 100644 index 0000000..b076700 --- /dev/null +++ b/installers/alpine/Dockerfile @@ -0,0 +1,6 @@ +FROM alpine:latest + +LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com" +LABEL upstream="https://github.com/pelican-eggs/yolks" + +RUN apk add --update --no-cache ca-certificates curl unzip tar git jq wget zip \ No newline at end of file