act-base/Dockerfile
Sean Wilbur d930ef8433
All checks were successful
build-publish / docker (push) Successful in 1m25s
Renaming repository to images/act-base
2026-04-17 09:53:33 -05:00

33 lines
1.0 KiB
Docker
Executable File

FROM zima1.abutili.net:3002/images/base:latest
USER root
ARG VERSION=dev
ARG VCS_REF=unknown
ARG BUILD_DATE=unknown
ARG NODE_VERSION=24.14.1
LABEL org.opencontainers.image.title="act-base" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.revision="${VCS_REF}" \
org.opencontainers.image.created="${BUILD_DATE}" \
org.opencontainers.image.source="https://git.abutili.net/images/act-base"
# install system deps
RUN apt-get update && apt-get install -y --no-install-recommends \
jq xz-utils git openssh-client \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN set -eux; \
ARCH="x64"; \
curl -fsSLO "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz"; \
tar -xJf "node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" -C /usr/local --strip-components=1; \
rm "node-v${NODE_VERSION}-linux-${ARCH}.tar.xz"; \
node --version; npm --version
# install app
# Switch back to the runner user defined in the base image
USER runner