Skip to content

Commit

Permalink
fix(build): slight docker stages naming fix (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokesterfr authored Mar 11, 2024
1 parent a3a58b1 commit f22cf54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG ZIP_SOURCE
# -------------------------------------
# PrestaShop Flashlight: Alpine image
# -------------------------------------
FROM php:${PHP_FLAVOUR} AS base-prestashop
FROM php:${PHP_FLAVOUR} AS alpine-base-prestashop
ARG PS_VERSION
ARG PHP_VERSION
ARG NODE_VERSION
Expand Down Expand Up @@ -64,7 +64,7 @@ RUN if [ "0.0.0" = "$NODE_VERSION" ]; then exit 0; fi \
# --------------------------------
# Flashlight install and dump SQL
# --------------------------------
FROM base-prestashop AS build-and-dump
FROM alpine-base-prestashop AS build-and-dump
ARG PS_VERSION
ARG PHP_VERSION
ARG GIT_SHA
Expand Down Expand Up @@ -105,7 +105,7 @@ RUN sh /patch.sh
# -----------------------
# Flashlight final image
# -----------------------
FROM base-prestashop AS prestashop-flashlight
FROM alpine-base-prestashop AS prestashop-flashlight
ARG PS_VERSION
ARG PHP_VERSION
ARG PHP_FLAVOUR
Expand Down
6 changes: 3 additions & 3 deletions docker/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG ZIP_SOURCE
# -------------------------------------
# PrestaShop Flashlight: Debian image
# -------------------------------------
FROM php:${PHP_FLAVOUR} AS base-prestashop
FROM php:${PHP_FLAVOUR} AS debian-base-prestashop
ARG PS_VERSION
ARG PHP_VERSION
ARG GIT_SHA
Expand Down Expand Up @@ -94,7 +94,7 @@ RUN if [ "0.0.0" = "$NODE_VERSION" ]; then exit 0; fi \
# --------------------------------
# Flashlight install and dump SQL
# --------------------------------
FROM base-prestashop AS build-and-dump
FROM debian-base-prestashop AS build-and-dump
ARG PS_VERSION
ARG PHP_VERSION
ARG GIT_SHA
Expand Down Expand Up @@ -137,7 +137,7 @@ RUN sh /patch.sh
# -----------------------
# Flashlight final image
# -----------------------
FROM base-prestashop AS prestashop-flashlight
FROM debian-base-prestashop AS prestashop-flashlight
ARG PS_VERSION
ARG PHP_VERSION
ARG PHP_FLAVOUR
Expand Down

0 comments on commit f22cf54

Please sign in to comment.