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

View File

@ -1,3 +1,7 @@
ignored: ignored:
- DL3013 # https://github.com/hadolint/hadolint/wiki/DL3013 allow install latest package - 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 - 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: Installed tools:
- rsync - all images (alpine and ubuntu)
- mc - rsync
- nano - mc
- nano
- ubuntu images
- unp
## Ubuntu and Alpine Images ## Ubuntu and Alpine Images

View File

@ -3,7 +3,7 @@
FROM ubuntu:22.04 FROM ubuntu:22.04
RUN apt-get update \ 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/* && rm -rf /var/lib/apt/lists/*
COPY ./bin/ /usr/local/bin COPY ./bin/ /usr/local/bin