File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ ARG USER_HOME=/home/piper
2121RUN addgroup -gid 1000 piper && \
2222 useradd piper --uid 1000 --gid 1000 --shell /bin/bash --home-dir "${USER_HOME}" --create-home
2323
24- RUN curl --location --silent "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=github" | tar -zx -C /usr/local/bin && \
24+ ARG INSTALL_DIR=/usr/local/bin
25+ RUN curl --location --silent "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=github" | tar -zx -C "${INSTALL_DIR}" && \
2526 cf --version
2627
27- RUN curl https://cli.btp.cloud.sap/btpcli-install.sh | bash -s -- -o /usr/local/bin -v latest && \
28+ RUN curl https://cli.btp.cloud.sap/btpcli-install.sh | bash -s -- -o "${INSTALL_DIR}" -v latest && \
2829 btp --version
2930
3031USER piper
You can’t perform that action at this time.
0 commit comments