chore: hot
This commit is contained in:
parent
248d420881
commit
5ec56ac0ab
2 changed files with 6 additions and 10 deletions
|
@ -18,14 +18,12 @@
|
||||||
# This image is intended to be used as a base for projects using ncc.
|
# This image is intended to be used as a base for projects using ncc.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Build-time args/envs
|
# Build-time args
|
||||||
ENV GENERIC_BUILD_PATH=/tmp/ncc_build
|
|
||||||
|
|
||||||
ARG PHP_VERSION=8.2
|
ARG PHP_VERSION=8.2
|
||||||
|
|
||||||
|
|
||||||
# Builder stage: downloads necessary files and serves them on a silver platter.
|
# Builder stage: downloads necessary files and serves them on a silver platter.
|
||||||
FROM php:{PHP_VERSION}-fpm AS builder
|
FROM php:{PHP_VERSION}-fpm AS builder
|
||||||
|
ENV GENERIC_BUILD_PATH=/tmp/ncc_build
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
# Install some stuff the default image doesn't come with
|
# Install some stuff the default image doesn't come with
|
||||||
|
@ -57,7 +55,7 @@ LABEL description="ncc's official Docker image"
|
||||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
# Copy downloaded files
|
# Copy downloaded files
|
||||||
COPY --from=builder ${GENERIC_BUILD_PATH}/. .
|
COPY --from=builder /tmp/ncc_build/. .
|
||||||
|
|
||||||
# Install some stuff the default image doesn't come with
|
# Install some stuff the default image doesn't come with
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
|
|
|
@ -18,14 +18,12 @@
|
||||||
# This image is intended to be used as a base for projects using ncc.
|
# This image is intended to be used as a base for projects using ncc.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Build-time args/envs
|
# Build-time args
|
||||||
ENV GENERIC_BUILD_PATH=/tmp/ncc_build
|
|
||||||
|
|
||||||
ARG PHP_VERSION=8.2
|
ARG PHP_VERSION=8.2
|
||||||
|
|
||||||
|
|
||||||
# Builder stage: downloads necessary files and serves them on a silver platter.
|
# Builder stage: downloads necessary files and serves them on a silver platter.
|
||||||
FROM php:{PHP_VERSION}-fpm AS builder
|
FROM php:{PHP_VERSION}-fpm AS builder
|
||||||
|
ENV GENERIC_BUILD_PATH=/tmp/ncc_build
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
# Install some stuff the default image doesn't come with
|
# Install some stuff the default image doesn't come with
|
||||||
|
@ -57,7 +55,7 @@ LABEL description="ncc's official Docker image"
|
||||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
# Copy downloaded files
|
# Copy downloaded files
|
||||||
COPY --from=builder ${GENERIC_BUILD_PATH}/. .
|
COPY --from=builder /tmp/ncc_build/. .
|
||||||
|
|
||||||
# Install some stuff the default image doesn't come with
|
# Install some stuff the default image doesn't come with
|
||||||
RUN apt-get update -yqq && \
|
RUN apt-get update -yqq && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue