Skip to content

Commit

Permalink
fix deb arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 23, 2024
1 parent bef5675 commit aa05b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/docker/image-factory-runner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:22.04

ARG RUNNER_VERSION=2.319.1
ARG RUNNER_ARCH=amd64
ARG RUNNER_ARCH=x64

ENV DEBIAN_FRONTEND=noninteractive \
USER_NAME=gha \
Expand Down Expand Up @@ -75,7 +75,7 @@ RUN chmod +x start-github-runner.sh

# Install Packer, Azure CLI, and Trivy
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - && \
apt-add-repository "deb [arch=${RUNNER_ARCH}] https://apt.releases.hashicorp.com $(lsb_release -cs) main" && \
apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" && \
apt-get update -y && \
apt-get install -y packer && \
curl -sL https://aka.ms/InstallAzureCLIDeb | bash && \
Expand Down

0 comments on commit aa05b90

Please sign in to comment.