File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.source=https://github.com/SAP/devops-docker-cf-cl
44LABEL org.opencontainers.image.description="An image for the cf cli"
55LABEL org.opencontainers.image.licenses=Apache-2.0
66
7- ENV VERSION 0.1
7+ ENV VERSION= 0.1
88
99# https://github.com/hadolint/hadolint/wiki/DL4006
1010SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
@@ -19,10 +19,14 @@ RUN apt-get update && \
1919# add group & user
2020ARG USER_HOME=/home/piper
2121RUN addgroup -gid 1000 piper && \
22- useradd piper --uid 1000 --gid 1000 --shell /bin/bash --home-dir "${USER_HOME}" --create-home && \
23- curl --location --silent "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=github" | tar -zx -C /usr/local/bin && \
22+ useradd piper --uid 1000 --gid 1000 --shell /bin/bash --home-dir "${USER_HOME}" --create-home
23+
24+ RUN curl --location --silent "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=github" | tar -zx -C /usr/local/bin && \
2425 cf --version
2526
27+ RUN curl https://cli.btp.cloud.sap/btpcli-install.sh | bash && \
28+ btp --version
29+
2630USER piper
2731WORKDIR ${USER_HOME}
2832
You can’t perform that action at this time.
0 commit comments