File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11ARG BASE_CONTAINER=perl:5.34
22ARG NCPUS=4
3- FROM $BASE_CONTAINER as base
3+ FROM $BASE_CONTAINER AS base
44
55WORKDIR /pdl
66
@@ -12,7 +12,7 @@ ENV PERL5LIB="${PERL_LOCAL_LIB_ROOT}/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
1212ENV PERL_MB_OPT="--install_base \" ${PERL_LOCAL_LIB_ROOT}\" "
1313ENV PERL_MM_OPT="INSTALL_BASE=${PERL_LOCAL_LIB_ROOT}"
1414
15- FROM base as deps
15+ FROM base AS deps
1616# non-free for e.g. pgplot5
1717RUN apt-get update \
1818 && apt-get install -y software-properties-common \
@@ -23,7 +23,7 @@ RUN apt-get update \
2323 libcfitsio-dev libreadline-dev libvpx-dev \
2424 netpbm libnetpbm10-dev
2525
26- FROM deps as builder
26+ FROM deps AS builder
2727COPY . /pdl/src
2828RUN cd /pdl/src && (cpanm -nq \
2929 Devel::CheckLib ExtUtils::MakeMaker \
@@ -32,7 +32,7 @@ RUN cd /pdl/src && (cpanm -nq \
3232 && cpanm --verbose --build-args -j${NCPUS} . \
3333 ) || ( cat ~/.cpanm/build.log && false )
3434
35- FROM deps as run
35+ FROM deps AS run
3636COPY --from=builder ${PERL_LOCAL_LIB_ROOT} ${PERL_LOCAL_LIB_ROOT}
3737# Download CPAN metadata for builds
3838RUN cpanm -nq strict
Original file line number Diff line number Diff line change 11ARG BASE_CONTAINER=pdl:latest
2- FROM $BASE_CONTAINER as base
2+ FROM $BASE_CONTAINER AS base
33
44WORKDIR /pdl
55
Original file line number Diff line number Diff line change 11ARG BASE_CONTAINER=pdl:latest
2- FROM $BASE_CONTAINER as base
2+ FROM $BASE_CONTAINER AS base
33
44RUN apt-get update \
55 && apt-get install --no-install-recommends -y \
You can’t perform that action at this time.
0 commit comments