Commit 3310b4c9 authored by Kevin Daudt's avatar Kevin Daudt

implement Dockerfile

parent 314aa1a4
# TODO: change to alpinelinux/docker-cli
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 apk add --no-cache abuild atools spdx-licenses-list shellcheck \
&& adduser -D lint
COPY overlay/ /
USER lint
# apkbuild-lint-tools
Docker container with the necessary linting tools for verifying APKBUILD files
\ No newline at end of file
Docker container with the necessary linting tools for verifying APKBUILD files
## Tools
* **[atools](https://gitlab.alpinelinux.org/Leo/atools)** - Contains `apkbuild-lint`
for general codestyle linting
* **[shellcheck](https://www.shellcheck.net/)** - A generic shell script linter,
warning against common issues in shell scripts. Note that by default it's
too strict for APKBUILD files.
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