Skip to content

Commit

Permalink
remove jq and stylistic Dockerfile update
Browse files Browse the repository at this point in the history
jq isn't used anymore, let's remove it from our dependencies.
  • Loading branch information
BenoitZugmeyer committed Sep 9, 2024
1 parent 53eeefc commit fe82c00
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ RUN set -x \
&& unzip awscliv2.zip \
&& ./aws/install

# Deploy deps
RUN apt-get install -y -q --no-install-recommends jq

# Node fsevents deps
RUN apt-get install -y -q --no-install-recommends g++ build-essential

Expand All @@ -64,21 +61,21 @@ RUN apt-get -y install git
RUN apt-get -y install procps

# Woke
RUN set -o pipefail && curl -sSfL https://git.io/getwoke | \
bash -s -- -b /usr/local/bin v0.17.1
RUN set -o pipefail \
&& curl -sSfL https://git.io/getwoke | bash -s -- -b /usr/local/bin v0.17.1

# Codecov https://docs.codecov.com/docs/codecov-uploader
RUN apt-get -y install gnupg coreutils
RUN set -o pipefail && curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
RUN CODECOV_UPLOADER_VERSION=v0.1.15 \
RUN apt-get -y install gnupg coreutils \
&& set -o pipefail && curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import \
&& CODECOV_UPLOADER_VERSION=v0.1.15 \
&& curl -Os https://uploader.codecov.io/${CODECOV_UPLOADER_VERSION}/linux/codecov \
&& curl -Os https://uploader.codecov.io/${CODECOV_UPLOADER_VERSION}/linux/codecov.SHA256SUM \
&& curl -Os https://uploader.codecov.io/${CODECOV_UPLOADER_VERSION}/linux/codecov.SHA256SUM.sig
RUN gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
RUN shasum -a 256 -c codecov.SHA256SUM
RUN chmod +x codecov
RUN mv codecov /usr/local/bin
RUN rm codecov.*
&& curl -Os https://uploader.codecov.io/${CODECOV_UPLOADER_VERSION}/linux/codecov.SHA256SUM.sig \
&& gpgv codecov.SHA256SUM.sig codecov.SHA256SUM \
&& shasum -a 256 -c codecov.SHA256SUM \
&& chmod +x codecov \
&& mv codecov /usr/local/bin \
&& rm codecov.*

# Install authanywhere for pull request commenter token
RUN if [ $(uname -m) = x86_64 ]; then AAA="amd64"; else AAA="arm64"; fi; curl -OL "binaries.ddbuild.io/dd-source/authanywhere/LATEST/authanywhere-linux-${AAA}" && mv "authanywhere-linux-${AAA}" /bin/authanywhere && chmod +x /bin/authanywhere

0 comments on commit fe82c00

Please sign in to comment.