25 lines
1 KiB
Docker
25 lines
1 KiB
Docker
FROM archlinux:base-devel
|
|
|
|
LABEL org.opencontainers.image.title="actions-docker"
|
|
LABEL org.opencontainers.image.description="StarOpenSource's Docker image for CI/CD pipelines."
|
|
LABEL org.opencontainers.image.authors="JeremyStar™ <jeremystartm@staropensource.de> (@jeremystartm)"
|
|
LABEL org.opencontainers.image.url="https://git.staropensource.de/StarOpenSource/actions-docker/src/branch/develop/README.md"
|
|
LABEL org.opencontainers.image.documentation=""
|
|
LABEL org.opencontainers.image.source="https://git.staropensource.de/StarOpenSource/actions-docker"
|
|
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later"
|
|
LABEL org.opencontainers.image.version=""
|
|
LABEL org.opencontainers.image.revision=""
|
|
LABEL org.opencontainers.image.created=""
|
|
|
|
# Tweak pacman.conf
|
|
RUN sed 's/\#ParallelDownloads = 5/ParallelDownloads = 15/g' -i /etc/pacman.conf
|
|
|
|
# Initialize pacman keyring
|
|
RUN pacman-key --init
|
|
RUN pacman-key --populate
|
|
|
|
# Update system
|
|
RUN pacman -Syu --noconfirm
|
|
|
|
# Install packages required for actions to function properly
|
|
RUN pacman -S --noconfirm nodejs git
|