@@ -13,9 +13,11 @@ variable "TIMESTAMP"{
1313}
1414group "default" {
1515 targets = [
16+ " alpine-22" ,
1617 " alpine-21" ,
1718 " alpine-18" ,
1819 " alpine-15" ,
20+ " builder-22" ,
1921 " builder-21" ,
2022 " php-74" ,
2123 " php-81" ,
@@ -36,6 +38,7 @@ group "default" {
3638}
3739group "alpine" {
3840 targets = [
41+ " alpine-22" ,
3942 " alpine-21" ,
4043 " alpine-18" ,
4144 " alpine-15" ,
@@ -60,6 +63,18 @@ group "magento" {
6063 " magento-81" ,
6164 ]
6265}
66+ target "alpine-22" {
67+ dockerfile = " Alpine.Dockerfile"
68+ target = " alpine-22-base"
69+ tags = [
70+ " ghcr.io/roushtech/docker/base:3.22" ,
71+ " ghcr.io/roushtech/docker/base:3.22-${ TIMESTAMP } " ,
72+ ]
73+ platforms = PLATFORMS
74+ labels = {
75+ " org.opencontainers.image.description" = " Roushtech-flavoured Alpine Linux base image"
76+ }
77+ }
6378target "alpine-21" {
6479 dockerfile = " Alpine.Dockerfile"
6580 target = " alpine-21-base"
@@ -68,9 +83,9 @@ target "alpine-21" {
6883 " ghcr.io/roushtech/docker/base:3.21-${ TIMESTAMP } " ,
6984 ]
7085 platforms = PLATFORMS
71- labels = {
72- " org.opencontainers.image.description" = " Roushtech-flavoured Alpine Linux base image"
73- }
86+ labels = {
87+ " org.opencontainers.image.description" = " Roushtech-flavoured Alpine Linux base image"
88+ }
7489}
7590target "alpine-18" {
7691 dockerfile = " Alpine.Dockerfile"
@@ -97,6 +112,18 @@ target "alpine-15" {
97112 " org.opencontainers.image.description" = " Roushtech-flavoured Alpine Linux base image"
98113 }
99114}
115+ target "builder-22" {
116+ dockerfile = " Alpine.Dockerfile"
117+ target = " builder-22-base"
118+ tags = [
119+ " ghcr.io/roushtech/docker/builder:3.22" ,
120+ " ghcr.io/roushtech/docker/builder:3.22-${ TIMESTAMP } " ,
121+ ]
122+ platforms = PLATFORMS
123+ labels = {
124+ " org.opencontainers.image.description" = " Roushtech-flavoured Alpine Linux base image that has build tools installed"
125+ }
126+ }
100127target "builder-21" {
101128 dockerfile = " Alpine.Dockerfile"
102129 target = " builder-21-base"
@@ -109,17 +136,18 @@ target "builder-21" {
109136 " org.opencontainers.image.description" = " Roushtech-flavoured Alpine Linux base image that has build tools installed"
110137 }
111138}
112- target "php-74 " {
139+ target "php-84 " {
113140 dockerfile = " PHP.Dockerfile"
114- target = " php-74 -base"
141+ target = " php-84 -base"
115142 tags = [
116- " ghcr.io/roushtech/docker/php:7.4" ,
117- " ghcr.io/roushtech/docker/php:7.4-${ TIMESTAMP } " ,
143+ " ghcr.io/roushtech/docker/php:latest" ,
144+ " ghcr.io/roushtech/docker/php:8.4" ,
145+ " ghcr.io/roushtech/docker/php:8.4-${ TIMESTAMP } " ,
118146 ]
119147 platforms = PLATFORMS
120- labels = {
121- " org.opencontainers.image.description" = " PHP 7 .4 base image"
122- }
148+ labels = {
149+ " org.opencontainers.image.description" = " PHP 8 .4 base image"
150+ }
123151}
124152target "php-81" {
125153 dockerfile = " PHP.Dockerfile"
@@ -133,30 +161,16 @@ target "php-81" {
133161 " org.opencontainers.image.description" = " PHP 8.1 base image"
134162 }
135163}
136- target "php-84" {
137- dockerfile = " PHP.Dockerfile"
138- target = " php-84-base"
139- tags = [
140- " ghcr.io/roushtech/docker/php:latest" ,
141- " ghcr.io/roushtech/docker/php:8.4" ,
142- " ghcr.io/roushtech/docker/php:8.4-${ TIMESTAMP } " ,
143- ]
144- platforms = PLATFORMS
145- labels = {
146- " org.opencontainers.image.description" = " PHP 8.4 base image"
147- }
148- }
149- target "php-81-node" {
164+ target "php-74" {
150165 dockerfile = " PHP.Dockerfile"
151- target = " php-81-node -base"
166+ target = " php-74 -base"
152167 tags = [
153- " ghcr.io/roushtech/docker/php-node:latest" ,
154- " ghcr.io/roushtech/docker/php-node:8.1" ,
155- " ghcr.io/roushtech/docker/php-node:8.1-${ TIMESTAMP } " ,
168+ " ghcr.io/roushtech/docker/php:7.4" ,
169+ " ghcr.io/roushtech/docker/php:7.4-${ TIMESTAMP } " ,
156170 ]
157171 platforms = PLATFORMS
158172 labels = {
159- " org.opencontainers.image.description" = " PHP 8.1 with Node.js base image"
173+ " org.opencontainers.image.description" = " PHP 7.4 base image"
160174 }
161175}
162176target "php-84-node" {
@@ -171,17 +185,17 @@ target "php-84-node" {
171185 " org.opencontainers.image.description" = " PHP 8.4 with Node.js base image"
172186 }
173187}
174- target "magento -81" {
175- dockerfile = " Magento .Dockerfile"
176- target = " magento -81-node-base"
188+ target "php -81-node " {
189+ dockerfile = " PHP .Dockerfile"
190+ target = " php -81-node-base"
177191 tags = [
178- " ghcr.io/roushtech/docker/magento :latest" ,
179- " ghcr.io/roushtech/docker/magento :8.1" ,
180- " ghcr.io/roushtech/docker/magento :8.1-${ TIMESTAMP } " ,
192+ " ghcr.io/roushtech/docker/php-node :latest" ,
193+ " ghcr.io/roushtech/docker/php-node :8.1" ,
194+ " ghcr.io/roushtech/docker/php-node :8.1-${ TIMESTAMP } " ,
181195 ]
182196 platforms = PLATFORMS
183197 labels = {
184- " org.opencontainers.image.description" = " Magento on PHP 8.1 with Node.js base image"
198+ " org.opencontainers.image.description" = " PHP 8.1 with Node.js base image"
185199 }
186200}
187201target "magento-84" {
@@ -195,4 +209,17 @@ target "magento-84" {
195209 labels = {
196210 " org.opencontainers.image.description" = " Magento on PHP 8.4 with Node.js base image"
197211 }
212+ }
213+ target "magento-81" {
214+ dockerfile = " Magento.Dockerfile"
215+ target = " magento-81-node-base"
216+ tags = [
217+ " ghcr.io/roushtech/docker/magento:latest" ,
218+ " ghcr.io/roushtech/docker/magento:8.1" ,
219+ " ghcr.io/roushtech/docker/magento:8.1-${ TIMESTAMP } " ,
220+ ]
221+ platforms = PLATFORMS
222+ labels = {
223+ " org.opencontainers.image.description" = " Magento on PHP 8.1 with Node.js base image"
224+ }
198225}
0 commit comments