Skip to content

Commit

Permalink
Correct target arch
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbaeten committed Sep 13, 2024
1 parent 0ffe6d2 commit 08f162b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -

# install age
ENV AGE_VERSION=1.2.0
RUN curl -s -L https://github.com/FiloSottile/age/releases/download/v${AGE_VERSION}/age-v${AGE_VERSION}-linux-amd64.tar.gz -o /tmp/age.tar.gz \
RUN curl -s -L https://github.com/FiloSottile/age/releases/download/v${AGE_VERSION}/age-v${AGE_VERSION}-linux-${TARGETARCH}.tar.gz -o /tmp/age.tar.gz \
&& tar xvf /tmp/age.tar.gz -C /tmp \
&& mv /tmp/age/age /usr/local/bin/age \
&& mv /tmp/age/age-keygen /usr/local/bin/age-keygen \
&& rm -rf /tmp/{age,age.tar.gz}

# install sops
ENV SOPS_VERSION=3.9.0
RUN curl -s -L https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux -o /usr/local/bin/sops \
RUN curl -s -L https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.${TARGETARCH} -o /usr/local/bin/sops \
&& chmod 0755 /usr/local/bin/sops

# copy executable
Expand Down

0 comments on commit 08f162b

Please sign in to comment.