# If this is the first time building, pulling
# the current images may help build speed as they
# can be used as cache.
docker pull eteam/legacy-php-fpm:jessie
docker pull eteam/legacy-php-fpm:bullseye
# Build
docker build --progress plain \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--build-arg PHP_VERSION=5.5 \
--cache-from eteam/legacy-php-fpm:jessie \
--tag eteam/legacy-php-fpm:jessie \
--file Dockerfile \
--pull \
./
docker build --progress plain \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--build-arg PHP_VERSION=5.5 \
--cache-from eteam/legacy-php-fpm:bullseye \
--tag eteam/legacy-php-fpm:bullseye \
--file Dockerfile.bullseye \
--pull \
./
# Push images to hub
docker push eteam/legacy-php-fpm:jessie
docker push eteam/legacy-php-fpm:bullseye
Content type
Image
Digest
sha256:709b316fc…
Size
224.7 MB
Last updated
about 4 years ago
docker pull eteam/legacy-php-fpm:bullseye