Skip to content

Commit 369c70f

Browse files
authored
chore: address FromAsCasing warning (#22)
1 parent 5f9d0ac commit 369c70f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

php/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ARG PHP_VERSION=7.4
22

33
# Stage for Composer
4-
FROM php:${PHP_VERSION}-cli-alpine as composer_builder
4+
FROM php:${PHP_VERSION}-cli-alpine AS composer_builder
55
RUN apk add --no-cache curl \
66
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
77
&& rm -rf /var/cache/apk/*
88

99
# Stage for WP-CLI
10-
FROM php:${PHP_VERSION}-cli-alpine as wpcli_builder
10+
FROM php:${PHP_VERSION}-cli-alpine AS wpcli_builder
1111
RUN apk add --no-cache curl \
1212
&& curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
1313
&& chmod +x wp-cli.phar \
@@ -19,7 +19,7 @@ RUN apk add --no-cache curl \
1919
&& rm -rf /var/cache/apk/*
2020

2121
# Main build stage
22-
FROM php:${PHP_VERSION}-fpm-alpine as builder
22+
FROM php:${PHP_VERSION}-fpm-alpine AS builder
2323

2424
LABEL maintainer="Tareq Hasan <tareq@wedevs.com>"
2525

0 commit comments

Comments
 (0)