mirror of
https://github.com/stoatchat/kubernetes-arc-runner-image.git
synced 2026-06-30 22:07:54 -04:00
19 lines
563 B
Docker
19 lines
563 B
Docker
FROM ghcr.io/actions/actions-runner:latest
|
|
|
|
USER root
|
|
|
|
# Install build tools
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
pkg-config \
|
|
libssl-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install Docker Compose plugin
|
|
RUN mkdir -p /usr/local/lib/docker/cli-plugins \
|
|
&& curl -fsSL https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 \
|
|
-o /usr/local/lib/docker/cli-plugins/docker-compose \
|
|
&& chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
|
|
|
|
USER runner
|