Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add iptables variant #12

Merged
merged 1 commit into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
673 changes: 654 additions & 19 deletions .github/workflows/ci-master-pr.yml

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ Dockerized alpine with useful tools.
|:-------:|:---------:|
| `:3.12-curl-git-jq-ssh`, `:latest` | [View](variants/3.12-curl-git-jq-ssh ) |
| `:3.12-curl-mysqlclient-openssl` | [View](variants/3.12-curl-mysqlclient-openssl ) |
| `:3.12-iptables` | [View](variants/3.12-iptables ) |
| `:3.11-curl-git-jq-ssh` | [View](variants/3.11-curl-git-jq-ssh ) |
| `:3.11-curl-mysqlclient-openssl` | [View](variants/3.11-curl-mysqlclient-openssl ) |
| `:3.11-iptables` | [View](variants/3.11-iptables ) |
| `:3.10-curl-git-jq-ssh` | [View](variants/3.10-curl-git-jq-ssh ) |
| `:3.10-curl-mysqlclient-openssl` | [View](variants/3.10-curl-mysqlclient-openssl ) |
| `:3.10-iptables` | [View](variants/3.10-iptables ) |
| `:3.9-curl-git-jq-ssh` | [View](variants/3.9-curl-git-jq-ssh ) |
| `:3.9-curl-mysqlclient-openssl` | [View](variants/3.9-curl-mysqlclient-openssl ) |
| `:3.9-iptables` | [View](variants/3.9-iptables ) |
| `:3.8-curl-git-jq-ssh` | [View](variants/3.8-curl-git-jq-ssh ) |
| `:3.8-curl-mysqlclient-openssl` | [View](variants/3.8-curl-mysqlclient-openssl ) |
| `:3.8-iptables` | [View](variants/3.8-iptables ) |
1 change: 1 addition & 0 deletions generate/definitions/VARIANTS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ $local:VARIANTS_MATRIX = @(
subvariants = @(
@{ components = @( 'curl', 'git', 'jq', 'ssh' ); tag_as_latest = if ($v -eq $local:VARIANTS_DISTRO_VERSIONS[0]) { $true } else { $false } }
@{ components = @( 'curl', 'mysqlclient', 'openssl' ) }
@{ components = @( 'iptables' ) }
)
}
}
Expand Down
9 changes: 9 additions & 0 deletions generate/templates/Dockerfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ RUN apk add --no-cache curl
RUN apk add --no-cache git


"@

}

'iptables' {
@"
RUN apk add --no-cache iptables


"@

}
Expand Down
4 changes: 4 additions & 0 deletions variants/3.10-iptables/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine:3.10

RUN apk add --no-cache iptables

4 changes: 4 additions & 0 deletions variants/3.11-iptables/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine:3.11

RUN apk add --no-cache iptables

4 changes: 4 additions & 0 deletions variants/3.12-iptables/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine:3.12

RUN apk add --no-cache iptables

4 changes: 4 additions & 0 deletions variants/3.8-iptables/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine:3.8

RUN apk add --no-cache iptables

4 changes: 4 additions & 0 deletions variants/3.9-iptables/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine:3.9

RUN apk add --no-cache iptables