Skip to content

Commit

Permalink
test: Add integrated Docker lint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Oct 25, 2024
1 parent 8083483 commit 15d8f57
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-bookworm
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar

FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim@sha256:b3cdb99fb356091b6395f3444d355da8ae5d63572ba777bed95b65848d6e02be AS base

# Force apt-get to not use TTY
Expand Down
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-bullseye
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar

FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim@sha256:3717ce4bc6e34336ac100762eb766dc9cb739543686d0189001c1cafa57ba29c AS base

# Force apt-get to not use TTY
Expand Down
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-focal
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar

FROM mcr.microsoft.com/dotnet/aspnet:6.0-focal@sha256:fe64a7f5bf2e300e52ad4eadc8d59c0ec7f096e22107d910c478366ee99c903d AS base

# Force apt-get to not use TTY
Expand Down
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-jammy
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar

FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy@sha256:d41af821cc90286d7c0d81c6a25733846ee7eebb2b55479934af909afd36471a AS base

# Force apt-get to not use TTY
Expand Down
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-noble
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar

FROM mcr.microsoft.com/dotnet/aspnet:8.0-noble@sha256:a516b80935ab07dc415244dcdb8c52f4592644282127ecfa37c77561d26d25d5 AS base

# Force apt-get to not use TTY
Expand Down
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-ubi8
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar

FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10@sha256:7583ca0ea52001562bd81a961da3f75222209e6192e4e413ee226cff97dbd48c AS base

# Configure local user
Expand Down
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-ubi9
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar

FROM registry.access.redhat.com/ubi9-minimal:9.4@sha256:f182b500ff167918ca1010595311cf162464f3aa1cab755383d38be61b4d30aa AS base

# Configure local user
Expand Down
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-win-ltsc2019
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar,WorkdirRelativePath

FROM mcr.microsoft.com/dotnet/sdk:8.0-windowsservercore-ltsc2019@sha256:64ae795d03e5baff18006980118cc43089f4cf51c1f7ae84b41421772633bd01

# Configure local user
Expand Down
3 changes: 3 additions & 0 deletions src/docker/Dockerfile-win-ltsc2022
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# syntax=docker/dockerfile:1
# check=skip=UndefinedVar,WorkdirRelativePath

FROM mcr.microsoft.com/dotnet/sdk:8.0-windowsservercore-ltsc2022@sha256:a5daa91a8bbf6dbbdfde03490343c3234b356dcbb0740cd33fd1417b34670c38

# Configure local user
Expand Down

0 comments on commit 15d8f57

Please sign in to comment.