fixed paths and added unp (#8)
All checks were successful
build / Dockerfile lint (push) Successful in 12s
build / build (push) Successful in 39s

Reviewed-on: #8
This commit is contained in:
Roger Sikorski 2023-11-12 17:44:32 +01:00
parent 7eafeef093
commit 94fb458645
8 changed files with 20 additions and 13 deletions

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: dockerfile/alpine/Dockerfile
dockerfile: dockerfile/alpine
build:
runs-on: k3s
@ -28,4 +28,4 @@ jobs:
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}
build_file: dockerfile/alpine/Dockerfile
build_file: dockerfile/alpine

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: dockerfile/ubuntu/Dockerfile
dockerfile: dockerfile/ubuntu
build:
runs-on: k3s
@ -28,4 +28,4 @@ jobs:
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}
build_file: dockerfile/ubuntu/Dockerfile
build_file: dockerfile/ubuntu

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile/alpine/
dockerfile: dockerfile/alpine
build:
runs-on: k3s
@ -29,4 +29,4 @@ jobs:
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}
build_file: dockerfile/aline/Dockerfile
build_file: dockerfile/alpine

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile/ubuntu/
dockerfile: dockerfile/ubuntu
build:
runs-on: k3s
@ -29,4 +29,4 @@ jobs:
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}
build_file: dockerfile/aline/Dockerfile
build_file: dockerfile/ubuntu

View File

@ -1,3 +1,7 @@
ignored:
- DL3013 # https://github.com/hadolint/hadolint/wiki/DL3013 allow install latest package
# alpine specific
- DL3018 # https://github.com/hadolint/hadolint/wiki/DL3018 no need to pin specific version
# ubuntu specific
- DL3008 # https://github.com/hadolint/hadolint/wiki/DL3008 no need to pin specific version
- DL3015 # https://github.com/hadolint/hadolint/wiki/DL3015 allow installation of recommends packages, this image is for making our live easier

View File

@ -4,9 +4,12 @@ This image is builded to do easier maintaince tasks. Example editing config file
Installed tools:
- rsync
- mc
- nano
- all images (alpine and ubuntu)
- rsync
- mc
- nano
- ubuntu images
- unp
## Ubuntu and Alpine Images

View File

@ -3,7 +3,7 @@
FROM ubuntu:22.04
RUN apt-get update \
&& apt-get install -y nano mc micro rsync ncdu git curl \
&& apt-get install -y nano mc micro rsync ncdu git curl unp \
&& rm -rf /var/lib/apt/lists/*
COPY ./bin/ /usr/local/bin