Skip to content

Commit 9aceffe

Browse files
add user agent header (#78)
* Update version of multiapps plugin to 3.7.0 * Add multiapps cli plugin user_agent header suffix --------- Co-authored-by: Oliver Feldmann <[email protected]>
1 parent d4b7ade commit 9aceffe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN apt-get update && \
2020
ARG USER_HOME=/home/piper
2121
RUN addgroup -gid 1000 piper && \
2222
useradd piper --uid 1000 --gid 1000 --shell /bin/bash --home-dir "${USER_HOME}" --create-home
23-
23+
2424
ARG INSTALL_DIR=/usr/local/bin
2525
RUN curl --location --silent "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=github" | tar -zx -C "${INSTALL_DIR}" && \
2626
cf --version
@@ -31,6 +31,8 @@ RUN curl https://cli.btp.cloud.sap/btpcli-install.sh | bash -s -- -o "${INSTALL_
3131
USER piper
3232
WORKDIR ${USER_HOME}
3333

34+
# Set user agent header suffix for multiapps CLI plugin
35+
ENV MULTIAPPS_USER_AGENT_SUFFIX="ppiper/cf-cli"
3436
ARG MTA_PLUGIN_VERSION=3.10.0
3537
ARG MTA_PLUGIN_URL=https://github.com/cloudfoundry/multiapps-cli-plugin/releases/download/v${MTA_PLUGIN_VERSION}/multiapps-plugin.linux64
3638
ENV MULTIAPPS_DISABLE_UPLOAD_PROGRESS_BAR=true

0 commit comments

Comments
 (0)