Skip to content

Commit

Permalink
[fix-variable-expansion] Make curl calls consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Sep 11, 2024
1 parent 0e2fcdb commit ba1b7bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions images/awx-ee/execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,27 +70,27 @@ additional_build_steps:
- RUN curl -L "https://github.com/github/hub/releases/download/v$HUB_VERSION/hub-linux-amd64-$HUB_VERSION.tgz" -o /tmp/hub && tar -xvf /tmp/hub -C /tmp && mv /tmp/hub-linux-amd64-$HUB_VERSION/bin/hub /usr/local/bin
- RUN chmod +x /usr/local/bin/hub
- RUN lagoon config feature --enable-local-dir-check false --force
- RUN curl -sS https://getcomposer.org/download/$COMPOSER_VERSION/composer.phar --output composer.phar
- RUN curl -sS "https://getcomposer.org/download/$COMPOSER_VERSION/composer.phar" --output composer.phar
- RUN chmod +x composer.phar
- RUN mv composer.phar /usr/local/bin/composer
- RUN composer global require szeidler/composer-patches-cli:^1.0
- RUN curl -L https://github.com/itchyny/gojq/releases/download/v$GOJQ_VERSION/gojq_v$GOJQ_VERSION_linux_amd64.tar.gz --output /tmp/gojq_v$GOJQ_VERSION_linux_amd64.tar.gz
- RUN curl -L "https://github.com/itchyny/gojq/releases/download/v$GOJQ_VERSION/gojq_v$GOJQ_VERSION_linux_amd64.tar.gz" --output /tmp/gojq_v$GOJQ_VERSION_linux_amd64.tar.gz
- RUN tar -C /tmp -xvf /tmp/gojq_v$GOJQ_VERSION_linux_amd64.tar.gz
- RUN chmod +x /tmp/gojq_v$GOJQ_VERSION_linux_amd64/gojq
- RUN mv /tmp/gojq_v$GOJQ_VERSION_linux_amd64/gojq /usr/local/bin
- RUN touch /runner/.bashrc && chmod +x /runner/.bashrc
- RUN mkdir -p /runner/.nvm && chgrp 0 /runner/.nvm && chmod -R ug+rwx /runner/.nvm
- RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/$NVM_INSTALL_VERSION/install.sh | PROFILE="/runner/.bashrc" bash
- RUN curl -o- "https://raw.githubusercontent.com/nvm-sh/nvm/$NVM_INSTALL_VERSION/install.sh" | PROFILE="/runner/.bashrc" bash
- RUN curl -L "https://get.helm.sh/helm-v$HELM_VERSION-linux-amd64.tar.gz" -o /tmp/helm && tar -xvf /tmp/helm -C /tmp && mv /tmp/linux-amd64/helm /usr/local/bin
- RUN chmod +x /usr/local/bin/helm
- RUN curl -L https://github.com/google/yamlfmt/releases/download/v$YAMLFMT_VERSION/yamlfmt_$YAMLFMT_VERSION_Linux_x86_64.tar.gz --output /tmp/yamlfmt_$YAMLFMT_VERSION_Linux_x86_64.tar.gz
- RUN curl -L "https://github.com/google/yamlfmt/releases/download/v$YAMLFMT_VERSION/yamlfmt_$YAMLFMT_VERSION_Linux_x86_64.tar.gz" --output /tmp/yamlfmt_$YAMLFMT_VERSION_Linux_x86_64.tar.gz
- RUN tar -C /tmp -xvf /tmp/yamlfmt_$YAMLFMT_VERSION_Linux_x86_64.tar.gz
- RUN chmod +x /tmp/yamlfmt
- RUN mv /tmp/yamlfmt /usr/local/bin
- | # Install GitHub gh cli tool
SHELL ["/bin/bash", "-c"]
RUN set -eux; \
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
curl -fsSL "https://cli.github.com/packages/githubcli-archive-keyring.gpg" | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
&& chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& apt update \
Expand Down

0 comments on commit ba1b7bd

Please sign in to comment.