Skip to content
Arxo Arxo

Docker

FROM ubuntu:22.04
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
RUN curl -sL "https://github.com/arxohq/arxo/releases/latest/download/arxo-linux-x86_64.tar.gz" | tar xz \
&& chmod +x arxo && mv arxo /usr/local/bin/
COPY . /app
WORKDIR /app
RUN arxo analyze --format json --output /report.json
services:
arxo:
image: ubuntu:22.04
volumes:
- .:/workspace
working_dir: /workspace
command: |
sh -c "
apt-get update && apt-get install -y curl &&
curl -sL https://github.com/arxohq/arxo/releases/latest/download/arxo-linux-x86_64.tar.gz | tar xz &&
chmod +x arxo && ./arxo analyze
"