Commit 88451036 authored by Kevin Daudt's avatar Kevin Daudt

Add Dockerfile to build image

parent 314aa1a4
Pipeline #113 canceled with stage
in 16 seconds
image: kdaudt/docker-cli:add-auxilary-scripts
stages:
- build
- upload
build:
stage: build
tags:
- docker-alpine
- x86_64
script:
- docker build -t $CI_PROJECT_NAME:latest .
upload:
stage: upload
before_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
only:
- master
script:
- docker-push-image $CI_PROJECT_NAME:latest $DOCKER_NAMESPACE/$CI_PROJECT_NAME:latest
FROM alpine:edge
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >>/etc/apk/repositories \
&& apk add --no-cache abuild atools spdx-licenses-list shellcheck \
&& adduser -D lint
COPY overlay/ /
USER lint
#!/bin/sh
shellcheck -s ash \
-e SC2016 \
-e SC2086 \
-e SC2169 \
-e SC2155 \
-e SC2100 \
-e SC2209 \
-e SC2030 \
-e SC2031 \
-e SC1090 \
-xa /usr/share/abuild/APKBUILD_SHIM
#!/bin/sh
set -e
arch=
builddir=
checkdepends=
depends=
depends_dev=
install=
install_if=
ldpath=
license=
makedepends=
md5sums=
options=
pkgdesc=
pkgdir=$PWD/pkg
pkgname=
pkgrel=
pkgver=
pkggroups=
pkgusers=
provides=
replaces=
sha256sums=
sha512sums=
sonameprefix=
source=
srcdir=$PWD/src
startdir=
subpackages=
subpkgdir=
subpkgname=
url=
. ./APKBUILD
: "$arch"
: "$builddir"
: "$checkdepends"
: "$depends"
: "$depends_dev"
: "$install"
: "$install_if"
: "$ldpath"
: "$license"
: "$makedepends"
: "$md5sums"
: "$options"
: "$pkgdesc"
: "$pkgdir"
: "$pkgname"
: "$pkgrel"
: "$pkgver"
: "$pkggroups"
: "$pkgusers"
: "$provides"
: "$replaces"
: "$sha256sums"
: "$sha512sums"
: "$sonameprefix"
: "$source"
: "$srcdir"
: "$startdir"
: "$subpackages"
: "$subpkgdir"
: "$subpkgname"
: "$url"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment