damp-petabyte-30247
05/31/2024, 6:01 PMARG BASE_IMAGE
ARG BASE_IMAGE_TAG
FROM ${BASE_IMAGE}:${BASE_IMAGE_TAG}
RUN apt-get update && \
apt-get install -y --no-install-recommends \
bash \
curl \
coreutils && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY get-pants.sh .
RUN chmod +x ./get-pants.sh
RUN /bin/bash -c ./get-pants.sh
ENV PATH=/root/.local/bin:${PATH}
billowy-cat-69904
05/31/2024, 7:11 PMRUN curl --proto '=https' --tlsv1.2 -fsSL <https://static.pantsbuild.org/setup/get-pants.sh> | bash
ENV PATH="/root/.local/bin:${PATH}"
damp-petabyte-30247
05/31/2024, 7:29 PMbroad-processor-92400
05/31/2024, 9:21 PMPANTS_VERSION=2.20.1 pants version
potentially. I don’t remember if you need to have a pants.toml
file available (if so, create an empty one and then delete it, in the run step)